summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_states.c
diff options
context:
space:
mode:
authorThierry Deval <tdeval@cvs.openbsd.org>2002-05-28 23:38:11 +0000
committerThierry Deval <tdeval@cvs.openbsd.org>2002-05-28 23:38:11 +0000
commit3c59f256ec7736ab8b346e98c01333e951f28f83 (patch)
treeffe23c62e42c2ffccdf894329e487bcfe95f860c /sys/dev/raidframe/rf_states.c
parent409d348818f03f3f84d9365d27d044790c1a4324 (diff)
splbio protection for biodone()
ok art@
Diffstat (limited to 'sys/dev/raidframe/rf_states.c')
-rw-r--r--sys/dev/raidframe/rf_states.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_states.c b/sys/dev/raidframe/rf_states.c
index b7470a8e190..0b78cc14233 100644
--- a/sys/dev/raidframe/rf_states.c
+++ b/sys/dev/raidframe/rf_states.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rf_states.c,v 1.7 2001/12/29 21:51:18 tdeval Exp $ */
+/* $OpenBSD: rf_states.c,v 1.8 2002/05/28 23:38:10 tdeval Exp $ */
/* $NetBSD: rf_states.c,v 1.15 2000/10/20 02:24:45 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@@ -220,7 +220,8 @@ rf_State_LastState(RF_RaidAccessDesc_t * desc)
/* wake up any pending IO */
raidstart(((RF_Raid_t *) desc->raidPtr));
- /* printf("Calling biodone on 0x%x\n",desc->bp); */
+ /* printf("%s: Calling biodone on 0x%x\n", __func__, desc->bp); */
+ splassert(IPL_BIO);
biodone(desc->bp); /* access came through ioctl */
if (callbackFunc)