Messages in this thread | | | Date | Sun, 11 Apr 1999 21:31:56 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [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/
| |