diff options
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 305adf6dc09a..044652ee7ef5 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
@@ -899,11 +899,6 @@ static struct dentry *btrfs_mount(struct file_system_type *fs_type, int flags, | |||
899 | if (!fs_info) | 899 | if (!fs_info) |
900 | return ERR_PTR(-ENOMEM); | 900 | return ERR_PTR(-ENOMEM); |
901 | 901 | ||
902 | fs_info->tree_root = btrfs_alloc_root(fs_info); | ||
903 | if (!fs_info->tree_root) { | ||
904 | error = -ENOMEM; | ||
905 | goto error_fs_info; | ||
906 | } | ||
907 | fs_info->fs_devices = fs_devices; | 902 | fs_info->fs_devices = fs_devices; |
908 | 903 | ||
909 | fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); | 904 | fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); |