Assert that the KERNEL_LOCK() is held in vref(9).
authormpi <mpi@openbsd.org>
Sat, 23 Oct 2021 14:08:46 +0000 (14:08 +0000)
committermpi <mpi@openbsd.org>
Sat, 23 Oct 2021 14:08:46 +0000 (14:08 +0000)
commit57a040e7c01a07ed69121733c5e392a4a908161a
treeae164ea6a47d2023d9552428f18f37e6f05a4305
parentc8c26ecc79964bd22cb35dc31b12e79f4ec83963
Assert that the KERNEL_LOCK() is held in vref(9).

This is a guard against pushing the lock too far in UVM's vnode land.

ok beck@
sys/kern/vfs_subr.c