writeback: pass in super_block to bdi_start_writeback()
authorJens Axboe <jens.axboe@oracle.com>
Fri, 25 Sep 2009 22:07:46 +0000 (00:07 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 25 Sep 2009 22:10:40 +0000 (00:10 +0200)
commita72bfd4dea053bb8e2233902c3f1893ef5485802
tree1246fc000adfee6d2874b9324eaf7383ad4413bb
parent6d7f18f6ea3a13af95bdf507fc54d42b165e1712
writeback: pass in super_block to bdi_start_writeback()

Sometimes we only want to write pages from a specific super_block,
so allow that to be passed in.

This fixes a problem with commit 56a131dcf7ed36c3c6e36bea448b674ea85ed5bb
causing writeback on all super_blocks on a bdi, where we only really
want to sync a specific sb from writeback_inodes_sb().

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fs-writeback.c
include/linux/backing-dev.h
mm/page-writeback.c