fs: Assign bdi in super_block
[linux-2.6-block.git] / fs / btrfs / disk-io.c
index 15831d5c73676ef79804f5308997f44745c33da3..8b81927900117b34368191495f78e5bca6e954ac 100644 (file)
@@ -1600,6 +1600,7 @@ struct btrfs_root *open_ctree(struct super_block *sb,
 
        sb->s_blocksize = 4096;
        sb->s_blocksize_bits = blksize_bits(4096);
+       sb->s_bdi = &fs_info->bdi;
 
        /*
         * we set the i_size on the btree inode to the max possible int.