[PATCH] erofs: clean up erofs_register_sysfs()

Chao Yu chao at kernel.org
Thu Sep 5 16:56:05 AEST 2024


On 2024/8/28 17:52, Gao Xiang wrote:
> After commit 684b290abc77 ("erofs: add support for
> FS_IOC_GETFSSYSFSPATH"), `sb->s_sysfs_name` is now valid.
> 
> Just use it to get rid of duplicated logic.
> 
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>

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

Thanks,


More information about the Linux-erofs mailing list