On 2024/9/18 23:30, Hongzhen Luo wrote: > Rename the global variable `cfg` to `g_cfg` in preparation for > the per-superblock configuration. I think the global configuration is still needed. But you need to seperate all mkfs configurations from cfg into a new structure `erofs_mkfs_buildtree_args` instead. Thanks, Gao Xiang