• Jan Kara's avatar
    mm: Cleanup clearing of BDI_pending bit in bdi_forker_thread() · 5a042aa4
    Jan Kara authored
    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: default avatarJan Kara <jack@suse.cz>
    Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
    5a042aa4
backing-dev.c 21.5 KB