Re: [PATCH] [REGRESSION] ovl: Handle ENOSYS when fileattr support is missing in lower/upper fs

From: Christian Kohlschütter
Date: Mon Jul 18 2022 - 16:33:57 EST


> Am 18.07.2022 um 22:12 schrieb Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>:
>
> On Mon, Jul 18, 2022 at 12:28 PM Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
>>
>> So this is a bug in the kernel part of fuse, that doesn't catch and
>> convert ENOSYS in case of the ioctl request.
>
> Ahh, even better. No need to worry about external issues.
>
> Linus

My concern was fixing it in fuse instead of ovl would leave non-fuse filesystems affected (even though I don't have proof that such filesystems exist).

I'm glad you are OK with Miklos' change; the outcome of this discussion certainly adds some nuance to the famous "don't break userspace" / error code thread from 2012.

Best,
Christian