Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 1997 22:51:11 +0100 (MET)
From:      "Martin v.Loewis" <loewis@cs.tu-berlin.de>
To:        hannibal@cyberstation.net (Dan Walters)
Cc:        freebsd-fs@freebsd.org
Subject:   Re: How to get the parent directory vnode of a vnode?
Message-ID:  <199703032151.WAA20734@rubel.cs.tu-berlin.de>
In-Reply-To: <Pine.BSI.3.95.970228164344.3914A-100000@citrine.cyberstation.net> from "Dan Walters" at Feb 28, 97 05:32:20 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> in the layer's per-vnode structure.  I just noticed, however, that there
> is no reference to the parent directory's vnode in a vnode structure, so
> I'm having some difficulty deciding on the proper way to lookup the vnode
> for the ACL file (which is kept in the same directory).  

Hmm. Maybe I'm missing something: There usually is not necessarily a
(single) parent vnode for a given vnode. In the presence of hard links,
a vnode might be referenced from different 'parents'. Also, the root
directory usually does not have a parent vnode.

Regards,
Martin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703032151.WAA20734>