freebsd-dev/sys/ufs
Konstantin Belousov 016f98f947 Assert that v_holdcnt is non-zero before entering lockmgr in vn_lock
and ffs_lock. This cannot catch situations where holdcnt is incremented
not by curthread, but I think it is useful.

Reviewed by:	tegge, attilio
Tested by:	pho
MFC after:	2 weeks
2008-10-20 10:11:33 +00:00
..
ffs Assert that v_holdcnt is non-zero before entering lockmgr in vn_lock 2008-10-20 10:11:33 +00:00
ufs Close a race between concurrent calls to ufsdirhash_recycle() and 2008-09-22 20:53:22 +00:00