]> git.hungrycats.org Git - linux/commit
btrfs: hold a ref on the root in btrfs_ioctl_get_subvol_info
authorJosef Bacik <josef@toxicpanda.com>
Wed, 20 Nov 2019 18:56:50 +0000 (10:56 -0800)
committerJosef Bacik <josef@toxicpanda.com>
Fri, 6 Dec 2019 16:34:48 +0000 (08:34 -0800)
commit693818d6f1f8a13b769024571de00a64585be22d
treee371c9a340dbf21ca7dd7ec0ed880b1e59152276
parent1bd052e8be4aeb39b5d8abcc94b202ddd3b20657
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.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
fs/btrfs/ioctl.c