[PATCH] erofs: reject unknown option if it is not supported

Hongbo Li lihongbo22 at huawei.com
Tue Apr 29 14:00:07 AEST 2025



On 2025/4/29 11:54, Gao Xiang wrote:
> On Tue, Apr 29, 2025 at 11:46:39AM +0800, Hongbo Li wrote:
> 
> ...
> 
>>>
>>> Another thing is that I'm not sure if "user_xattr" option is really
>>> needed, we might just kill this option since all recent fses don't
>>> have such configuration and user_xattrs should be supported by default.
>>>
>> Yeah, perhaps this option should be removed along with
>> CONFIG_EROFS_FS_XATTR, as xattr can be also consider as a type of data that
>> we cannot modify.
> 
> You meant remove "CONFIG_EROFS_FS_XATTR"? but some embedded
> use cases don't need xattrs anyway.
> 
> I mean just kill "user_xattr" option and leave user xattrs on
> all the time.
ok, it seems reasonable.

Thanks,
Hongbo

> 
> Thanks,
> Gao Xiang
> 


More information about the Linux-erofs mailing list