Protect v_usecount with a critical section for now (we depend on the BGL),
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 28 Mar 2004 07:54:00 +0000 (07:54 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 28 Mar 2004 07:54:00 +0000 (07:54 +0000)
commit5d28270e4453558d7c942f59f260c41077731a6b
tree3520d6265be425771a8ba479850c630d12019597
parentfc7246e947a039d266d883f32eaa5410c32e13fd
Protect v_usecount with a critical section for now (we depend on the BGL),
and assert that it does not drop below 0.

Suggested-by: David Rhodus <drhodus@machdep.com>
sys/kern/vfs_subr.c