summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-09 00:01:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-09 00:01:50 +0000
commit1025c005279f1e99b2ce492903cb512d84e705f2 (patch)
tree2ece8bc9461f2e0d92dffaa13097da155bcfd949 /sys/scsi/cd.c
parenta6ad51ec8097e8481a4c70046e6ed5658cfc6cbb (diff)
splassert a splbio assumption.
Diffstat (limited to 'sys/scsi/cd.c')
-rw-r--r--sys/scsi/cd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 7d1dbe4a8dd..251fa6144b3 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.63 2002/06/08 23:59:47 art Exp $ */
+/* $OpenBSD: cd.c,v 1.64 2002/06/09 00:01:49 art Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -606,6 +606,8 @@ cdstart(v)
int blkno, nblks, cmdlen;
struct partition *p;
+ splassert(IPL_BIO);
+
SC_DEBUG(sc_link, SDEV_DB2, ("cdstart "));
/*
* Check if the device has room for another command