fd - Fix panic due to device_busy
authorAlex Hornung <ahornung@gmail.com>
Mon, 17 Aug 2009 17:37:53 +0000 (18:37 +0100)
committerAlex Hornung <ahornung@gmail.com>
Mon, 17 Aug 2009 17:41:45 +0000 (18:41 +0100)
commitcfa47be2c68f263beefed8602f21a4502ad4e426
tree99ffe3485fa07482d9935968352eb562d225d4e1
parentd38e8725b2499ea3b428fdb677068990a5648c3a
fd - Fix panic due to device_busy

* Fix panic introduced by 7ba1363dc2de5d52704, caused by a too
  early call to device_busy, before the device is marked as
  attached.

NOTE: This might have yet unknown repercussions on the use of
      floppies.

Suggested-By: Matthew Dillon
sys/dev/disk/fd/fd.c