summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa/hdc9224.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-08 08:50:27 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-08 08:50:27 +0000
commit94d1681e1d4c04e4f4384d9e36f0ae6e74560409 (patch)
tree89608c8f0edccd88b05e452116284dc24c6d64d4 /sys/arch/vax/vsa/hdc9224.c
parent84eb493436172260ba7e053ca26252e495c4aa42 (diff)
protect biodone with splbio
Diffstat (limited to 'sys/arch/vax/vsa/hdc9224.c')
-rw-r--r--sys/arch/vax/vsa/hdc9224.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c
index 1fbbaf07a6c..c6b9eb9f6b0 100644
--- a/sys/arch/vax/vsa/hdc9224.c
+++ b/sys/arch/vax/vsa/hdc9224.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdc9224.c,v 1.8 2002/03/14 03:16:02 millert Exp $ */
+/* $OpenBSD: hdc9224.c,v 1.9 2002/06/08 08:50:26 art Exp $ */
/* $NetBSD: hdc9224.c,v 1.6 1997/03/15 16:32:22 ragge Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -445,7 +445,9 @@ done:
* Correctly set the buf to indicate a completed xfer
*/
bp->b_resid = 0; /* ??? bertram */
+ s = splbio();
biodone(bp);
+ splx(s);
}
int