diff options
author | Jan Kara <jack@suse.cz> | 2011-09-03 01:04:09 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-09-03 01:17:02 +0200 |
commit | 5a042aa4b8e994a15d2c2ee750219971f0ab3905 (patch) | |
tree | d7169fad55f66551fb8e8eb845cd1807bed25c47 /mm/swap.c | |
parent | block: simplify force plug flush code a little bit (diff) | |
download | linux-5a042aa4b8e994a15d2c2ee750219971f0ab3905.tar.xz linux-5a042aa4b8e994a15d2c2ee750219971f0ab3905.zip |
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 <fengguang.wu@intel.com>
CC: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions