linux-bl808/fs/btrfs
Josef Bacik af01d2e53f 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>
2020-03-23 17:01:27 +01:00
..
tests
acl.c
async-thread.c
async-thread.h
backref.c
backref.h
block-group.c btrfs: fix removal of raid[56|1c34} incompat flags after removing block group 2020-03-20 21:31:32 +01:00
block-group.h
block-rsv.c btrfs: add a comment describing block reserves 2020-03-23 17:01:26 +01:00
block-rsv.h
btrfs_inode.h btrfs: introduce per-inode file extent tree 2020-03-23 17:01:24 +01:00
check-integrity.c
check-integrity.h
compression.c
compression.h
ctree.c Btrfs: don't iterate mod seq list when putting a tree mod seq 2020-03-23 17:01:23 +01:00
ctree.h btrfs: introduce per-inode file extent tree 2020-03-23 17:01:24 +01:00
delalloc-space.c btrfs: add a comment describing delalloc space reservation 2020-03-23 17:01:27 +01:00
delalloc-space.h
delayed-inode.c btrfs: use the file extent tree infrastructure 2020-03-23 17:01:24 +01:00
delayed-inode.h
delayed-ref.c
delayed-ref.h
dev-replace.c btrfs: Add overview of device replace 2020-03-23 17:01:23 +01:00
dev-replace.h
dir-item.c
discard.c
discard.h
disk-io.c btrfs: hold a ref on fs roots while they're in the radix tree 2020-03-23 17:01:27 +01:00
disk-io.h btrfs: handle NULL roots in btrfs_put/btrfs_grab_fs_root 2020-03-23 17:01:26 +01:00
export.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
export.h
extent-io-tree.h btrfs: introduce per-inode file extent tree 2020-03-23 17:01:24 +01:00
extent-tree.c
extent_io.c btrfs: introduce per-inode file extent tree 2020-03-23 17:01:24 +01:00
extent_io.h
extent_map.c
extent_map.h
file-item.c btrfs: introduce per-inode file extent tree 2020-03-23 17:01:24 +01:00
file.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
free-space-cache.c
free-space-cache.h
free-space-tree.c
free-space-tree.h
inode-item.c
inode-map.c
inode-map.h
inode.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
ioctl.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
Kconfig
locking.c
locking.h
lzo.c
Makefile
misc.h
ordered-data.c btrfs: delete the ordered isize update code 2020-03-23 17:01:24 +01:00
ordered-data.h btrfs: delete the ordered isize update code 2020-03-23 17:01:24 +01:00
orphan.c
print-tree.c
print-tree.h
props.c
props.h
qgroup.c
qgroup.h
raid56.c
raid56.h
rcu-string.h
reada.c
ref-verify.c
ref-verify.h
relocation.c btrfs: make relocation use btrfs_read_tree_root() 2020-03-23 17:01:25 +01:00
root-tree.c btrfs: make btrfs_find_orphan_roots use btrfs_get_fs_root 2020-03-23 17:01:25 +01:00
scrub.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
send.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
send.h
space-info.c btrfs: describe the space reservation system in general 2020-03-23 17:01:27 +01:00
space-info.h
struct-funcs.c
super.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
sysfs.c
sysfs.h
transaction.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
transaction.h
tree-checker.c
tree-checker.h
tree-defrag.c
tree-log.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
tree-log.h
ulist.c
ulist.h
uuid-tree.c
volumes.c btrfs: open code btrfs_read_fs_root_no_name 2020-03-23 17:01:26 +01:00
volumes.h
xattr.c
xattr.h
zlib.c
zstd.c