]> bbs.cooldavid.org Git - net-next-2.6.git/commit - mm/page-writeback.c
writeback: simplify and split bdi_start_writeback
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Jun 2010 16:15:15 +0000 (18:15 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 11 Jun 2010 10:58:08 +0000 (12:58 +0200)
commitc5444198ca210498e8ac0ba121b4cd3537aa12f7
treec423d38fe1ac7f51a48e455a19ecbe2354811fca
parentb8c2f3474f1077599ec6e90c2f263f17055cc3d8
writeback: simplify and split bdi_start_writeback

bdi_start_writeback now never gets a superblock passed, so we can just remove
that case.  And to further untangle the code and flatten the call stack
split it into two trivial helpers for it's two callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/fs-writeback.c
include/linux/backing-dev.h
mm/page-writeback.c