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>
Wed, 28 Mar 2012 02:10:14 +0000 (19:10 -0700)
commita447ba1917b200f4f3977e2f3055f3e2286812ae
tree6f800b7289d3d8401255133eeca768a313f10714
parent0d52e78c527ec7ba3ac62d40d9fa588c964d4c55
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