]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: hold a ref on the root in btrfs_check_uuid_tree_entry
authorJosef Bacik <josef@toxicpanda.com>
Fri, 24 Jan 2020 14:32:52 +0000 (09:32 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:31 +0000 (17:01 +0100)
commit63c5c3909e2b0abdcb29b9cf371136ae9c25a2d4
tree9ee40d1fbb3fd2c5399ca097bf3e60ca5c0237f2
parent14e6503489042af28a5ed67e5569561c11de9fe9
btrfs: hold a ref on the root in btrfs_check_uuid_tree_entry

We lookup the uuid of arbitrary subvolumes, hold a ref on the root while
we're doing this.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c