Skip to content
Commit 2a2b5d62 authored by Josef Bacik's avatar Josef Bacik Committed by David Sterba
Browse files

btrfs: hold ref on root in btrfs_ioctl_default_subvol



We look up an arbitrary fs root here, we need to hold a ref on the root
for the duration.

Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 04734e84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment