summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-04-30 10:32:32 +0000
committersimokawa <simokawa@FreeBSD.org>2003-04-30 10:32:32 +0000
commitb656a86ad52cf503d357d7ab76a647203f51a0fb (patch)
tree33f9a0a52f847e6e52bc72ab483c7990f57c3ef3 /sys/dev
parent2819db74bce2144f1146f86204ee2670453c2a31 (diff)
downloadFreeBSD-src-b656a86ad52cf503d357d7ab76a647203f51a0fb.zip
FreeBSD-src-b656a86ad52cf503d357d7ab76a647203f51a0fb.tar.gz
Release devq before detach.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/firewire/sbp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index b38572e..b14d646 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -1982,6 +1982,9 @@ END_DEBUG
if (sdev->status == SBP_DEV_RESET)
continue;
if (sdev->path) {
+ xpt_release_devq(sdev->path,
+ sdev->freeze, TRUE);
+ sdev->freeze = 0;
xpt_async(AC_LOST_DEVICE, sdev->path, NULL);
xpt_free_path(sdev->path);
sdev->path = NULL;
OpenPOWER on IntegriCloud