aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests/btrfs-tests.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-01-24 14:32:58 +0000
committerDavid Sterba <[email protected]>2020-03-23 16:01:33 +0000
commitae18c37ad5a12a73d119dc1d7b30199574a41bf3 (patch)
tree1f33c8cd22d69c9d78e83ea8fd57594441775d8d /fs/btrfs/tests/btrfs-tests.c
parentbtrfs: free more things in btrfs_free_fs_info (diff)
downloadkernel-ae18c37ad5a12a73d119dc1d7b30199574a41bf3.tar.gz
kernel-ae18c37ad5a12a73d119dc1d7b30199574a41bf3.zip
btrfs: move fs_info init work into it's own helper function
open_ctree mixes initialization of fs stuff and fs_info stuff, which makes it confusing when doing things like adding the root leak detection. Make a separate function that inits all the static structures inside of the fs_info needed for the fs to operate, and then call that before we start setting up the fs_info to be mounted. Reviewed-by: Nikolay Borisov <[email protected]> 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