summaryrefslogtreecommitdiff
path: root/sys/dev/isa/wt.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-05-24 13:31:12 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-05-24 13:31:12 +0000
commit6b5e100a29b02706dce0b1e36a059d0222b7949e (patch)
tree12e91aa0c4a2c3089e6cb315a1bb04130b1af47a /sys/dev/isa/wt.c
parentde5bb8a212717730ee837be4b4802e239bd9ed7f (diff)
More splbio around biodone protection.
In these drivers I'm probably using more paranoia than necessary. If you really need to squeeze out the last drop of performance from the fd driver, call me.
Diffstat (limited to 'sys/dev/isa/wt.c')
-rw-r--r--sys/dev/isa/wt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isa/wt.c b/sys/dev/isa/wt.c
index 21b56da722e..7cf63520562 100644
--- a/sys/dev/isa/wt.c
+++ b/sys/dev/isa/wt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wt.c,v 1.15 2002/03/14 01:26:57 millert Exp $ */
+/* $OpenBSD: wt.c,v 1.16 2002/05/24 13:31:11 art Exp $ */
/* $NetBSD: wt.c,v 1.33 1996/05/12 23:54:22 mycroft Exp $ */
/*
@@ -613,7 +613,9 @@ errxit:
bp->b_error = EIO;
}
xit:
+ s = splbio();
biodone(bp);
+ splx(s);
return;
}