kernel - Fix mislocated __vbusy()
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Jan 2010 04:00:23 +0000 (20:00 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Jan 2010 04:00:23 +0000 (20:00 -0800)
commitac88f01af9c9434aee04c0e3cba620a988df4cc4
treeb844a90c470a0e9bba3345ca8dd10faef76a8943
parent3600dd204e71d5cc969c5da1a04c70d9b2911eae
kernel - Fix mislocated __vbusy()

* __vbusy(vp) must be called while the vfs_spin lock is held and
  atomic with the acquisition of a vnode from the freelist.

* Document the hell out of vfs_lock.c
sys/kern/vfs_lock.c