HomeFreeBSD

vn_lock_pair(): Support passing LK_NODDLKTREAT

Description

vn_lock_pair(): Support passing LK_NODDLKTREAT

Since this function ultimately calls vn_lock() or VOP_LOCK1(), allows it to
receive and pass this flag which is used in the lookup code and doesn't
interfere with the function's operation.

Reviewed by: kib, markj
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D40954

Details

Provenance
olceAuthored on Jul 9 2023, 5:12 PM
kibCommitted on Jul 14 2023, 11:36 AM
Reviewer
kib
Differential Revision
D40954: vn_lock_pair(): Support passing LK_NODDLKTREAT
Parents
rG09267cc15284: /etc/rc.subr: add support for kld sysctl variables
Branches
Unknown
Tags
Unknown