summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ccd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c
index 94fab4e51b2..99eaf1dcc1c 100644
--- a/sys/dev/ccd.c
+++ b/sys/dev/ccd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ccd.c,v 1.47 2002/03/14 01:26:52 millert Exp $ */
+/* $OpenBSD: ccd.c,v 1.48 2002/05/23 14:28:36 art Exp $ */
/* $NetBSD: ccd.c,v 1.33 1996/05/05 04:21:14 thorpej Exp $ */
/*-
@@ -733,7 +733,9 @@ ccdstrategy(bp)
splx(s);
return;
done:
+ s = splbio();
biodone(bp);
+ splx(s);
}
void
@@ -1002,6 +1004,8 @@ ccdintr(cs, bp)
struct buf *bp;
{
+ splassert(IPL_BIO);
+
#ifdef DEBUG
if (ccddebug & CCDB_FOLLOW)
printf("ccdintr(%p, %p)\n", cs, bp);