Re: [PATCH] vfs: fix race in rcu lookup of pruned dentry

From: Al Viro
Date: Tue Jul 19 2011 - 21:40:25 EST


On Wed, Jul 20, 2011 at 10:47:21AM +1000, NeilBrown wrote:
> > >
> > > Kudos to neilb for spotting the pointless check, BTW; and no, his theory
> > > that it might be needed since we could race with umount() is wrong - due to
> > > vfsmount_lock being held.
>
> Thanks.. but that patch seems to introduce an unused variable "seq".
>
> NeilBrown

Grr... I can amend and push again, of course, but I've no idea if Linus
has already pulled into his tree ;-/ Still not there in tree on hera,
but that's not saying much. Linus?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/