Re: [PATCH v2 00/31] vfs: pass S_IFDIR mode to vfs_prepare_mode()

From: Christian Brauner

Date: Wed Jul 01 2026 - 08:54:32 EST


On 2026-07-01 13:07 +0200, Jori Koolstra wrote:
>
> > Op 01-07-2026 12:51 CEST schreef Christian Brauner <brauner@xxxxxxxxxx>:
> >
> >
> > On Tue, 30 Jun 2026 12:53:29 +0200, Jori Koolstra wrote:
> > > vfs: pass S_IFDIR mode to vfs_prepare_mode()
> > >
> > > There is a comment in vfs_prepare_mode() that says:
> > >
> > > Note that it's currently valid for @type to be 0 if a directory is
> > > created. Filesystems raise that flag individually and we need to check
> > > whether each filesystem can deal with receiving S_IFDIR from the vfs
> > > before we enforce a non-zero type.
> > >
> > > [...]
> >
> > People are of course free to annotate their patches with Assisted-by
> > tags to point out that they are using an LLM. But I'm refusing to do
> > free in-kernel advertising for specific companies. So I've changed all
> > tags to read:
> >
> > Assisted-by: LLM
> >
> > which is good enough for all purposes. Nobody cares what specific sed or
> > coccinelle version or whatever else was used.
> >
>
> Oh, I actually much prefer that. Thanks for changing it. I was just following
> https://docs.kernel.org/process/coding-assistants.html. Maybe that should be
> updated...?

I have no appetite for reviving this endless discussion...