Messages in this thread | | | Date | Fri, 9 Mar 2001 20:00:15 -0500 (EST) | From | Alexander Viro <> | Subject | Re: (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/
| |