summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/scsi_base.c')
-rw-r--r--sys/scsi/scsi_base.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c
index dbb21e80d1e..b6b254c2b55 100644
--- a/sys/scsi/scsi_base.c
+++ b/sys/scsi/scsi_base.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_base.c,v 1.35 2002/05/22 00:20:58 art Exp $ */
+/* $OpenBSD: scsi_base.c,v 1.36 2002/05/22 01:04:06 art Exp $ */
/* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */
/*
@@ -138,6 +138,8 @@ scsi_free_xs(xs, flags)
{
struct scsi_link *sc_link = xs->sc_link;
+ splassert(IPL_BIO);
+
SC_DEBUG(sc_link, SDEV_DB3, ("scsi_free_xs\n"));
pool_put(&scsi_xfer_pool, xs);