writeback: only use bdi_writeback_all() for WB_SYNC_NONE writeout
authorJens Axboe <jens.axboe@oracle.com>
Tue, 15 Sep 2009 07:53:35 +0000 (09:53 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:18:51 +0000 (15:18 +0200)
commitf11fcae8401a3175f528e2f7917362645d570111
tree1d0cf5d256ab40405582f5b459856cff41938c56
parent32a88aa1b6dfb901cec64e1898cac78d0f25028a
writeback: only use bdi_writeback_all() for WB_SYNC_NONE writeout

Data integrity writeback must use bdi_start_writeback() and ensure
that wbc->sb and wbc->bdi are set.

Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fs-writeback.c