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

From: Al Viro
Date: Mon Jul 18 2011 - 19:17:50 EST

On Mon, Jul 18, 2011 at 03:43:29PM -0700, Hugh Dickins wrote:
> Yes, that looks like THE right fix to me, making others irrelevant.
> But I haven't tested it either, won't begin to do so until tonight.
> And I fear I won't notice if there's any silly little bug in there,
> which forces every fast RCU lookup to go the slow way instead!
> Inlined for the benefit of wider scrutiny:

Looks sane. Applied. I'll wait with pull request until you test it,
but that looks right.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at