diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 709e33d08bb5..5547607681f4 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -728,9 +728,8 @@ struct btrfs_root *open_ctree(struct super_block *sb, | |||
728 | struct btrfs_root *dev_root = kmalloc(sizeof(struct btrfs_root), | 728 | struct btrfs_root *dev_root = kmalloc(sizeof(struct btrfs_root), |
729 | GFP_NOFS); | 729 | GFP_NOFS); |
730 | int ret; | 730 | int ret; |
731 | int err = -EIO; | 731 | int err = -EINVAL; |
732 | struct btrfs_super_block *disk_super; | 732 | struct btrfs_super_block *disk_super; |
733 | |||
734 | if (!extent_root || !tree_root || !fs_info) { | 733 | if (!extent_root || !tree_root || !fs_info) { |
735 | err = -ENOMEM; | 734 | err = -ENOMEM; |
736 | goto fail; | 735 | goto fail; |