From: Jan Kara Date: Fri, 2 Sep 2011 23:04:09 +0000 (-0600) Subject: mm: Cleanup clearing of BDI_pending bit in bdi_forker_thread() X-Git-Tag: v3.1-rc7~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a042aa4b8e994a15d2c2ee750219971f0ab3905;p=pandora-kernel.git mm: Cleanup clearing of BDI_pending bit in bdi_forker_thread() 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 CC: Andrew Morton Signed-off-by: Jan Kara Signed-off-by: Jens Axboe --- Reading git-diff-tree failed