[PATCH] mkfs.ubifs: make failure to list extended attributes quiet and non-fatal

David Oberhollenzer david.oberhollenzer at sigma-star.at
Mon Oct 23 14:58:12 PDT 2017


Hi,

On 10/20/2017 09:28 PM, Pavel Roskin wrote:
> mkfs.ubifs treats all errors returned by llistxattr() except ENOENT as
> fatal. In particular, if the host system doesn't support extended
> attributes, mkfs.ubifs would fail. It happens even without any flags that
> would explicitly request extended attribute support.
> 
Would it also work if we simply extended the check you patched to
test for ENOTSUP in addition?

Thanks,

David



More information about the linux-mtd mailing list