Re: Stupid VFS name lookup interface..

From: Linus Torvalds
Date: Tue May 21 2013 - 18:38:17 EST

On Tue, May 21, 2013 at 3:34 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> In principle, yes, but... I wonder if those two cases are actually
> safe (especially ncpfs) right now.

Now I can agree that that may well be an issue.

I don't think my patch makes anything worse (because if the inode
isn't stable, we could have hit the before/after cases before, and the
new NULL case is trivial to handle).

But I'm certainly not going to claim that ncpfs doesn't already have a
race as-is. Just claiming that I wouldn't have made it worse ;)

> Let me dig around in that code a bit, OK?

Sure, no problem. This would be 3.11 material anyway, I'd expect.

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