Commit 56a131dcf7ed36c3c6e36bea448b674ea85ed5bb

Authored by Jens Axboe
1 parent b3af9468ae

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1206,7 +1206,7 @@
1206 1206 nr_to_write = nr_dirty + nr_unstable +
1207 1207 (inodes_stat.nr_inodes - inodes_stat.nr_unused);
1208 1208  
1209   - bdi_writeback_all(sb, nr_to_write);
  1209 + bdi_start_writeback(sb->s_bdi, nr_to_write);
1210 1210 }
1211 1211 EXPORT_SYMBOL(writeback_inodes_sb);
1212 1212