kernel - Fix improper BUF_UNLOCK() with spinlock held
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 28 Mar 2012 02:10:14 +0000 (19:10 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 29 Mar 2012 23:07:20 +0000 (16:07 -0700)
commit9adb9c718276bcc360d85724c2cb58fabb1cb21e
tree04cbfd5878c0ea240098e6c09425ac5d62d07926
parent45ca23e3ebb1a0d433018c0f2ce762366f1234fe
kernel - Fix improper BUF_UNLOCK() with spinlock held

* Fix improper BUF_UNLOCK()s in the buf daemon threads.  Use a
  marker and rearrange the code to release the spinlock before
  executing BUF_UNLOCK().
sys/kern/vfs_bio.c
sys/sys/buf.h