diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-25 17:15:03 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-25 18:08:26 +0200 |
commit | 56a131dcf7ed36c3c6e36bea448b674ea85ed5bb (patch) | |
tree | d62d83e8ef4108753f557f25e8d7e89a42adf227 /fs | |
parent | b3af9468aebf5fcb573d0a116b31d2be1d43c0e9 (diff) | |
download | linux-56a131dcf7ed36c3c6e36bea448b674ea85ed5bb.tar.bz2 |
writeback: writeback_inodes_sb() should use bdi_start_writeback()
Pointless to iterate other devices looking for a super, when
we have a bdi mapping.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fs-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 52aa54540079..fb61178c86e3 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -1206,7 +1206,7 @@ void writeback_inodes_sb(struct super_block *sb) nr_to_write = nr_dirty + nr_unstable + (inodes_stat.nr_inodes - inodes_stat.nr_unused); - bdi_writeback_all(sb, nr_to_write); + bdi_start_writeback(sb->s_bdi, nr_to_write); } EXPORT_SYMBOL(writeback_inodes_sb); |