Re: [PATCH 39/43] btrfs: free more things in btrfs_free_fs_info

Nikolay Borisov
2020-01-22T10:49:09Z

On 22.01.20 г. 12:23 ч., Nikolay Borisov wrote:
>
>
> On 17.01.20 г. 23:25 ч., Josef Bacik wrote:
>> Things like the percpu_counters, the mapping_tree, and the csum hash can
>> all be free'd at btrfs_free_fs_info time, since the helpers all check if
>
> There is no btrfs_free_fs_info but just free_fs_info. What tree is this
> patch based on?

Ok I saw you have sneaked this function in 36/40. I have provided
feedback there, you can ignore this comment.

>
>> the structure has been init'ed already. This significantly cleans up
>> the error cases in open_ctree.
>>
>> Signed-off-by: Josef Bacik <josef@toxicpanda.com>