aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-01-24 09:32:35 -0500
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:28 +0100
commitb8a49ae1913f1befdbd477f805e99cb61d7971df (patch)
treee743ea8b050b37fea6d10c2df78d1aa1be491847 /fs/btrfs/send.c
parentbtrfs: hold a ref on the root in btrfs_search_path_in_tree (diff)
downloadlinux-dev-b8a49ae1913f1befdbd477f805e99cb61d7971df.tar.xz
linux-dev-b8a49ae1913f1befdbd477f805e99cb61d7971df.zip
btrfs: hold a ref on the root in btrfs_search_path_in_tree_user
We can wander into a different root, so grab a ref on the root we look up. Later on we make root = fs_info->tree_root so we need this separate out label to make sure we do the right cleanup only in the case we're looking up a different root. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/send.c')
0 files changed, 0 insertions, 0 deletions