]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita263f791cafbd0377da99d6e1b9dc0c7257cba88
tree51aa6f56ccfca53f495d015645373317bdee3647
parent6c9907fb9d0c6f4dc04e70cf867b191f6a5b2151
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