Re: [PATCH 1/2] mm: Cleanup clearing of BDI_pending bit inbdi_forker_thread()

From: Wu Fengguang
Date: Sat Sep 03 2011 - 23:06:06 EST


On Sat, Sep 03, 2011 at 06:54:18AM +0800, Jan Kara wrote:
> bdi_forker_thread() clears BDI_pending bit at the end of the main loop.
> However clearing of this bit must not be done in some cases which is handled by
> calling 'continue' from switch statement. That's kind of unusual construct and
> without a good reason so change the function into more intuitive code flow.
>
> CC: Wu Fengguang <fengguang.wu@xxxxxxxxx>
> CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Jan Kara <jack@xxxxxxx>

It's pure code refactor.

Reviewed-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>

Thanks,
Fengguang
--
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/