summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index a70c89b3a223..f1ad1189c930 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1102,11 +1102,6 @@ static char *get_subvol_name_from_objectid(struct btrfs_fs_info *fs_info,
fs_root = NULL;
goto err;
}
- if (!btrfs_grab_fs_root(fs_root)) {
- ret = -ENOENT;
- fs_root = NULL;
- goto err;
- }
/*
* Walk up the filesystem tree by inode refs until we hit the