lkml.org 
[lkml]   [1999]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] change of lookup() method.


On Sat, 10 Apr 1999, Alexander Viro wrote:
>
> Folks, right now we have ->lookup() returning 0 in case of success
> (in which case the argument gets hashed and becomes either positive or
> negative) or a negative integer in case of error (too long name, etc.).
> Proposed change: make it return a pointer to struct dentry.

Yes. This was what I was going to do for 2.3.x anyway - there are
filesystems like autofs that want to switch dentries on you even in the
absense of aliases.

I wasn't planning on doing this for 2.2.x, though. Do you have overriding
concerns?

Linus


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.053 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site