Josef Bacik ae18c37ad5 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>
2020-03-23 17:01:33 +01:00
..
2020-03-23 17:01:32 +01:00
2020-01-20 16:41:00 +01:00
2019-11-18 23:43:44 +01:00
2020-01-20 16:40:55 +01:00
2019-11-18 17:51:51 +01:00
2020-02-16 11:43:45 -08:00