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

Chao Yu chao at kernel.org
Sun Apr 28 20:00:03 AEST 2024


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 at linux.alibaba.com>
> Signed-off-by: Baokun Li <libaokun1 at huawei.com>

Reviewed-by: Chao Yu <chao at kernel.org>

Thanks,


More information about the Linux-erofs mailing list