]> git.hungrycats.org Git - linux/commit
btrfs: hold a root ref in btrfs_get_dentry
authorJosef Bacik <josef@toxicpanda.com>
Wed, 20 Nov 2019 15:56:19 +0000 (07:56 -0800)
committerJosef Bacik <josef@toxicpanda.com>
Fri, 6 Dec 2019 16:34:48 +0000 (08:34 -0800)
commita2208f19c8a85f41edaaf8536a05780a773b3d8b
tree0ef2203ec8b524326b0aea775862da82ae3862e8
parente146f8c3abcae02bd33f15b0a4754f90f5c6f543
btrfs: hold a root ref in btrfs_get_dentry

Looking up the inode we need to search the root, make sure we hold a
reference on that root while we're doing the lookup.

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