Re: [PATCH 13/19] VFS: lock dentry for ->revalidate to avoid races with rename etc

From: Al Viro
Date: Fri Feb 07 2025 - 15:35:59 EST


On Fri, Feb 07, 2025 at 08:28:39PM +0000, Al Viro wrote:
> On Thu, Feb 06, 2025 at 04:42:50PM +1100, NeilBrown wrote:
>
> > + if (dentry->d_flags & LOOKUP_RCU) {
>
> Really?

That aside, you are *NOT* passing the parent's name here - if you
look at the callers, all of them have 'name' and 'last' arguments
identicaly. What is going on here?