aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-01-24 09:32:36 -0500
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:28 +0100
commit04734e844894ccdfcb907d10eec1433e19d4918a (patch)
tree9c495719601c8de74c4bccfd21d1d1859b5de16a /fs/btrfs/send.c
parentbtrfs: hold a ref on the root in btrfs_search_path_in_tree_user (diff)
downloadlinux-dev-04734e844894ccdfcb907d10eec1433e19d4918a.tar.xz
linux-dev-04734e844894ccdfcb907d10eec1433e19d4918a.zip
btrfs: hold a ref on the root in btrfs_ioctl_get_subvol_info
We look up whatever root userspace has given us, we need to hold a ref throughout this operation. Use 'root' only for the on fs root and not as a temporary variable elsewhere. 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