HomeFreeBSD

unionfs: use VV_ROOT to check for root vnode in unionfs_lock()

Description

unionfs: use VV_ROOT to check for root vnode in unionfs_lock()

This avoids a potentially wild reference to the mount object.
Additionally, simplify some of the checks around VV_ROOT in
unionfs_nodeget().

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D33914

Details

Provenance
jahAuthored on Jan 17 2022, 1:03 AM
Reviewer
kib
Differential Revision
D33914: unionfs: use VV_ROOT to check for root vnode in unionfs_lock()
Parents
rG67c58cd72909: GEOM: Remove g_wait_sim.
Branches
Unknown
Tags
Unknown