Re: [PATCH 40/43] btrfs: move fs_info init work into it's own helper function

Nikolay Borisov
2020-01-23T12:28:36Z

On 17.01.20 г. 23:25 ч., Josef Bacik wrote:
> 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 init's 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.
>
> Signed-off-by: Josef Bacik <josef@toxicpanda.com>

Reviewed-by: Nikolay Borisov <nborisov@suse.com