kernel - MPSAFE stabilization
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 28 Dec 2009 17:15:25 +0000 (09:15 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 28 Dec 2009 17:15:25 +0000 (09:15 -0800)
commitb0911300ee0f72264351f0442bd32f63d280bd3a
treee86dc8f2a54879bf4753395bb70831bc65d2ab8d
parent2247fe02f4e80c2f2acaa71e60bf6b98eb848dca
kernel - MPSAFE stabilization

* Fix for 'panic: sysref_activate: bad count 00000002'.  Mistakenly
  assumed the lockmgr lock was sufficient protection but forgot it
  might be acquired LK_SHARED.  Extend v_spinlock protection to fix
  the problem.
sys/kern/kern_sysref.c
sys/kern/vfs_lock.c