summaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-09-25 17:15:03 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-09-25 18:08:26 +0200
commit56a131dcf7ed36c3c6e36bea448b674ea85ed5bb (patch)
treed62d83e8ef4108753f557f25e8d7e89a42adf227 /fs/fs-writeback.c
parentwriteback: don't delay inodes redirtied by a fast dirtier (diff)
downloadlinux-56a131dcf7ed36c3c6e36bea448b674ea85ed5bb.tar.xz
linux-56a131dcf7ed36c3c6e36bea448b674ea85ed5bb.zip
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/fs-writeback.c')
-rw-r--r--fs/fs-writeback.c2
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);