Re: Directory Entry for File

Mike Kennedy (mkennedy@cs.ucr.edu)
Sat, 20 Feb 1999 19:27:27 -0800 (PST)


> Erm? Are you dealing with 2.0 or 2.2? On 2.2 you are looking for a
> dentry of file and then look for ->d_parent - it will be dentry of parent
> directory. For root directory (of filesystem) ->d_parent points to itself.
> To find the dentry of mountpoint under it use ->d_covers.

I'm using a 2.0 kernel.

:===========================================================:
: Mike Kennedy mkennedy@cs.ucr.edu :
: Systems Administrator (909) 787-2946 :
: Computer Science Department :
: University of California, Riverside :
:===========================================================:

-
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/