Message ID | 1446763080-20235-2-git-send-email-mfasheh@suse.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c index 9a2ec79..0e9da72 100644 --- a/fs/btrfs/backref.c +++ b/fs/btrfs/backref.c @@ -355,7 +355,7 @@ static int __resolve_indirect_ref(struct btrfs_fs_info *fs_info, index = srcu_read_lock(&fs_info->subvol_srcu); - root = btrfs_read_fs_root_no_name(fs_info, &root_key); + root = btrfs_get_fs_root(fs_info, &root_key, false); if (IS_ERR(root)) { srcu_read_unlock(&fs_info->subvol_srcu, index); ret = PTR_ERR(root);