Re: [PATCH -next v3 1/2] erofs: get rid of erofs_fs_context

From: Gao Xiang
Date: Tue Apr 23 2024 - 06:37:58 EST




On 2024/4/19 20:36, Baokun Li wrote:
Instead of allocating the erofs_sb_info in fill_super() allocate it during
erofs_init_fs_context() and ensure that erofs can always have the info
available during erofs_kill_sb(). After this erofs_fs_context is no longer
needed, replace ctx with sbi, no functional changes.

Suggested-by: Jingbo Xu <jefflexu@xxxxxxxxxxxxxxxxx>
Signed-off-by: Baokun Li <libaokun1@xxxxxxxxxx>

Thanks, it looks good to me, let's see how it behaves after applying
to -next.

Thanks,
Gao Xiang