diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-01-24 09:32:58 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 17:01:33 +0100 |
commit | ae18c37ad5a12a73d119dc1d7b30199574a41bf3 (patch) | |
tree | 1f33c8cd22d69c9d78e83ea8fd57594441775d8d /fs/btrfs/reada.c | |
parent | 141386e1a5d641d6d89a7794f806a31945ec1e9f (diff) |
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 <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/reada.c')
0 files changed, 0 insertions, 0 deletions