diff options
author | 2020-01-24 09:32:35 -0500 | |
---|---|---|
committer | 2020-03-23 17:01:28 +0100 | |
commit | b8a49ae1913f1befdbd477f805e99cb61d7971df (patch) | |
tree | e743ea8b050b37fea6d10c2df78d1aa1be491847 /fs/btrfs/send.c | |
parent | btrfs: hold a ref on the root in btrfs_search_path_in_tree (diff) | |
download | linux-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