Re: [PATCH v2 01/15] VFS: note error returns is documentation for various lookup functions

From: NeilBrown

Date: Mon Feb 23 2026 - 17:18:16 EST


On Tue, 24 Feb 2026, Chris Mason wrote:
> NeilBrown <neilb@xxxxxxxxxxx> wrote:
> > From: NeilBrown <neil@xxxxxxxxxx>
> >
> > Darrick recently noted that try_lookup_noperm() is documented as
> > "Look up a dentry by name in the dcache, returning NULL if it does not
> > currently exist." but it can in fact return an error.
> >
> > So update the documentation for that and related function.
> >
>
> Hi everyone,
>
> I don't normally forward the typos, but since this is a documentation-y patch:

I'm certainly happy to receive them. Thanks for these and the others

I also found ....
>
> commit 0254b9b974f23889898562aa94f6428bf30eb6b5
> Author: NeilBrown <neil@xxxxxxxxxx>
>
> VFS: note error returns is documentation for various lookup functions
> ^^^^^ in?
>
> Darrick recently noted that try_lookup_noperm() is documented as
> "Look up a dentry by name in the dcache, returning NULL if it does not
> currently exist." but it can in fact return an error. So update the
> documentation for that and related function.
^^functions

Thanks,
NeilBrown