vnode: do not manipulate vnode lock directly
authorsemarie <semarie@openbsd.org>
Tue, 19 Oct 2021 06:11:45 +0000 (06:11 +0000)
committersemarie <semarie@openbsd.org>
Tue, 19 Oct 2021 06:11:45 +0000 (06:11 +0000)
commit4f12c8ab063383cd7d25f15b13b7a1240c0c5dc3
tree191ff729b6f64f6287c5f3784d57162c880e2c6f
parentf42cad0a546909e3f146cadc3992e5057a276c92
vnode: do not manipulate vnode lock directly

use VOP_LOCK / VOP_UNLOCK wrappers.

VOP_LOCK() is prefered over vn_lock() here in order to keep equivalent code.

ok mpi@ visa@ (as part of larger diff)
sys/isofs/cd9660/cd9660_node.c
sys/nfs/nfs_node.c
sys/ufs/ufs/ufs_ihash.c