Re: [PATCH 06/15] dm mirror log: refactor context

From: Andrew Morton
Date: Wed Jun 21 2006 - 23:59:59 EST


On Wed, 21 Jun 2006 20:34:58 +0100
Alasdair G Kergon <agk@xxxxxxxxxx> wrote:

> +static void core_dtr(struct dirty_log *log)
> +{
> + struct log_c *lc = (struct log_c *) log->context;

dirty_log.context is void*, so the cast is unneeded (multiple places).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/