From 1025c005279f1e99b2ce492903cb512d84e705f2 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Sun, 9 Jun 2002 00:01:50 +0000 Subject: splassert a splbio assumption. --- sys/scsi/cd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/scsi/cd.c') 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 -- cgit v1.2.3