aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests/btrfs-tests.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-01-24 14:32:54 +0000
committerDavid Sterba <[email protected]>2020-03-23 16:01:32 +0000
commit4c78e9f59632b5e635e51db9b68111288b38ff22 (patch)
tree3a60556c8ce681569acd91d146de3021f5427df4 /fs/btrfs/tests/btrfs-tests.c
parentbtrfs: export and rename free_fs_info (diff)
downloadkernel-4c78e9f59632b5e635e51db9b68111288b38ff22.tar.gz
kernel-4c78e9f59632b5e635e51db9b68111288b38ff22.zip
btrfs: hold a ref on the root in open_ctree
We lookup the fs_root and put it in our fs_info directly, we should hold a ref on this root for the lifetime of the fs_info. Signed-off-by: Josef Bacik <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tests/btrfs-tests.c')
0 files changed, 0 insertions, 0 deletions