kernel - Change ccb state with lock held
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Apr 2011 15:24:55 +0000 (08:24 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Apr 2011 15:24:55 +0000 (08:24 -0700)
commitdcdc077063c23b0b9c5ed1d8759cc01a09d36805
tree162c550509ea99a5551b36ec402e66f09f1841b4
parent3ab6e27a8b78fb2ef087efe5987838fed1c798d3
kernel - Change ccb state with lock held

* When putting a CCB back into the ap_ccb_free list do not
  change the state until after ap_ccb_lock has been acquired.
sys/dev/disk/ahci/ahci.c
sys/dev/disk/sili/sili.c