Re: [PATCH v6 08/12] vfs: change ->create/->mkdir operations unavailable errno
From: Jori Koolstra
Date: Fri Sep 25 2026 - 18:55:43 EST
> Op 18-09-2026 04:04 EDT schreef Christian Brauner <brauner@xxxxxxxxxx>:
>
>
> On Sun, Sep 13, 2026 at 08:50:12PM +0200, Jori Koolstra wrote:
> > Currently filesystems return -EACCES for missing ->create and -EPERM for
> > missing ->mkdir in vfs_create/vfs_mkdir. Instead of duplicating these
> > dubious and inconsistent error codes to lookup_open(), change all to
> > -EOPNOTSUPP.
> >
> > Signed-off-by: Jori Koolstra <jkoolstra@xxxxxxxxx>
> > ---
>
> I suspect that still has regression potential but we can try.
I know, but the one that showed up in next wasn't related to this. We can
drop it if there's issues, but it would be really really ugly. That's why
I suggest we try this lighter errno correction.