At Sun, 5 Dec 2021 10:38:54 +0100, "J. Hannken-Illjes" <[email protected]> wrote: Subject: Re: mount_union(8) vs. open(O_RDWR) > > There are (up to) three vnodes involved: > > - The union vnode attached to the union mount.
Ah, OK, I think I understand.
Just to be sure: Does that mean a vnode representing the "virtual"
object in the union filesystem itself? I.e. the vnode resulting from a
namei() lookup within the namespace of the union filesystem?
> Operation union_access() reuses "vp", it starts as union vnode
> and then gets assigned the upper and then the lower vnode making
> this operation difficult to read.
Indeed, that code is unnecessarily obtuse.
--
Greg A. Woods <[email protected]>
Kelowna, BC +1 250 762-7675 RoboHack <[email protected]>
Planix, Inc. <[email protected]> Avoncote Farms <[email protected]>
pgpM9Q5e9iHwc.pgp
Description: OpenPGP Digital Signature
