lkml.org 
[lkml]   [2001]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (struct dentry *)->vfsmnt;


On Fri, 9 Mar 2001, LA Walsh wrote:

> Could someone enlighten me as to the purpose of this field in the
> dentry struct? There is no elucidating comment in the header for this
> particular field and the name/type only indicate it is pointing to
> a list of vfsmounts. Can a dentry belong to more than one vfsmount?

Yes.

> If I have a 'dentry' and simply want to determine what the absolute
> path from root is, in the 'd_path' macro, would I use 'rootmnt' of my
> current->fs as the 'vfsmount' as well?

No such thing. The same fs may be present in many places. Please,
describe the situation - where do you get that dentry from?
Cheers,
Al

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

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