]> git.hungrycats.org Git - linux/commitdiff
zygo: btrfs: fixup: no srcu in resolve_indirect_ref
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Thu, 17 Sep 2020 04:34:30 +0000 (00:34 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Thu, 17 Sep 2020 04:34:30 +0000 (00:34 -0400)
fs/btrfs/backref.c

index 7546d7d8bf2d95ed62fe3128a4eb30cffc7e7e7c..a1bd7e63d29dcf822e06d695e6367f853b0b6f71 100644 (file)
@@ -562,7 +562,6 @@ static int resolve_indirect_ref(struct btrfs_fs_info *fs_info,
 
        if (!path->search_commit_root &&
            test_bit(BTRFS_ROOT_DELETING, &root->state)) {
-               srcu_read_unlock(&fs_info->subvol_srcu, index);
                ret = -ENOENT;
                goto out;
        }