commit | 04734e844894ccdfcb907d10eec1433e19d4918a | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Jan 24 09:32:36 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:28 2020 +0100 |
tree | 9c495719601c8de74c4bccfd21d1d1859b5de16a | |
parent | b8a49ae1913f1befdbd477f805e99cb61d7971df [diff] |
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>