On Mon, Apr 29, 2002 at 05:25:29PM +0200, Jirka Kosina wrote: > > I'm using kernel 2.4.18. I'm searching for a function ( or a group of > > functions" to return the inode number given a path name. Someone suggested > > that i see fs/namei.c. But the comments say, it's work is done in a function > > "lookup_dentry". But i can't seem to find out where it is. I even grepped the > > entire source code, and though it is called a few times, there is no > > definition of such a function. Please help, this is highly confusing > > Use path_init() & path_walk() No, lookup_dentry is never called. At least I can't see any calls to it. It's just mentioned many times in the comments. It was replaced by path_walk somewhere in the past, just noone bothered with correting the comments. -------------------------------------------------------------------------------- - Jan Hudec `Bulb' <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/