commit | af01d2e53f3343e9f22495e79f07b107374b05a1 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Fri Jan 24 09:32:27 2020 -0500 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 23 17:01:27 2020 +0100 |
tree | 536bc29e694aaebb846ee24f22992661eb54f54a | |
parent | 4b8b05288835501012d957bee597bffc72512646 [diff] |
btrfs: hold a ref on fs roots while they're in the radix tree If the root is sitting in the radix tree, we should probably have a ref for the radix tree. Grab a ref on the root when we insert it, and drop it when it gets deleted. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>