fs: Assign bdi in super_block
authorJens Axboe <jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:02:33 +0000 (15:02 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:18:51 +0000 (15:18 +0200)
commit32a88aa1b6dfb901cec64e1898cac78d0f25028a
tree51aa6f56ccfca53f495d015645373317bdee3647
parentc4a77a6c7dcff04a2abc7fe4b6b2ae605be41c5b
fs: Assign bdi in super_block

We do this automatically in get_sb_bdev() from the set_bdev_super()
callback. Filesystems that have their own private backing_dev_info
must assign that in ->fill_super().

Note that ->s_bdi assignment is required for proper writeback!

Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/btrfs/disk-io.c
fs/fuse/inode.c
fs/nfs/super.c
fs/super.c
fs/sync.c
fs/ubifs/super.c
include/linux/fs.h