projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3af946
)
writeback: writeback_inodes_sb() should use bdi_start_writeback()
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 25 Sep 2009 15:15:03 +0000
(17:15 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 25 Sep 2009 16:08:26 +0000
(18:08 +0200)
Pointless to iterate other devices looking for a super, when
we have a bdi mapping.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fs-writeback.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/fs-writeback.c
b/fs/fs-writeback.c
index 52aa54540079ca09ac5547c1a668afb5edb6fcb4..fb61178c86e3e56eb0dcecaad7ff6e3f3db1cc1d 100644
(file)
--- 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);