diff options
author | 2020-01-24 09:32:27 -0500 | |
---|---|---|
committer | 2020-03-23 17:01:27 +0100 | |
commit | af01d2e53f3343e9f22495e79f07b107374b05a1 (patch) | |
tree | 536bc29e694aaebb846ee24f22992661eb54f54a /fs/btrfs/backref.c | |
parent | btrfs: describe the space reservation system in general (diff) | |
download | linux-dev-af01d2e53f3343e9f22495e79f07b107374b05a1.tar.xz linux-dev-af01d2e53f3343e9f22495e79f07b107374b05a1.zip |
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>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions