lkml.org 
[lkml]   [1999]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Directory Entry for File


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

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