diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index a67b98d58c2a..57c9d8eeb7dc 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -1561,10 +1561,8 @@ struct btrfs_root *open_ctree(struct super_block *sb, | |||
1561 | GFP_NOFS); | 1561 | GFP_NOFS); |
1562 | struct btrfs_root *csum_root = kzalloc(sizeof(struct btrfs_root), | 1562 | struct btrfs_root *csum_root = kzalloc(sizeof(struct btrfs_root), |
1563 | GFP_NOFS); | 1563 | GFP_NOFS); |
1564 | struct btrfs_root *tree_root = kzalloc(sizeof(struct btrfs_root), | 1564 | struct btrfs_root *tree_root = btrfs_sb(sb); |
1565 | GFP_NOFS); | 1565 | struct btrfs_fs_info *fs_info = tree_root->fs_info; |
1566 | struct btrfs_fs_info *fs_info = kzalloc(sizeof(*fs_info), | ||
1567 | GFP_NOFS); | ||
1568 | struct btrfs_root *chunk_root = kzalloc(sizeof(struct btrfs_root), | 1566 | struct btrfs_root *chunk_root = kzalloc(sizeof(struct btrfs_root), |
1569 | GFP_NOFS); | 1567 | GFP_NOFS); |
1570 | struct btrfs_root *dev_root = kzalloc(sizeof(struct btrfs_root), | 1568 | struct btrfs_root *dev_root = kzalloc(sizeof(struct btrfs_root), |