kernel - Move dsched_disk_destroy_callback() call
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 30 Nov 2012 23:30:35 +0000 (15:30 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 30 Nov 2012 23:30:35 +0000 (15:30 -0800)
commit0ec487a5c52e7a913e7238b2268e0ae0187c691b
tree3690f3a1330759391306c39df6dceeaa7f3d315a
parent5374d04ff57a66cc5c140a32249db93546195130
kernel - Move dsched_disk_destroy_callback() call

* Move the dsched_disk_destroy_callback() call from the caller to the
  message handler to avoid racing a disk probe that might be running at
  the time (if a disk device is added and destroyed quickly).
sys/kern/subr_disk.c