Subject: Re: EJUSTRETURN in VOP_LOOKUP
To: Greg Troxel <gdt@ir.bbn.com>
From: Antti Kantee <pooka@cs.hut.fi>
List: tech-kern
Date: 10/01/2007 19:06:56
On Mon Oct 01 2007 at 19:02:53 +0300, Antti Kantee wrote:
> > Does this extend to higher-level lookup routines, and how does one tell
> > between:
> > some directory wasn't there in the path (an actual error)
> > and
> > all directories were there and the desired new name wasn't
>
> namei returns success for the latter case just like it has always done.
Oh, right, you meant inside lookup? Whoops, that's missing a test for
ISLASTCN. I admit I just threw the patch together and didn't test it,
so I probably shouldn't have included it in the mail in the first place.
Sorry about that.
--
Antti Kantee <pooka@iki.fi> Of course he runs NetBSD
http://www.iki.fi/pooka/ http://www.NetBSD.org/
"la qualité la plus indispensable du cuisinier est l'exactitude"