diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-24 13:31:12 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-05-24 13:31:12 +0000 |
commit | 6b5e100a29b02706dce0b1e36a059d0222b7949e (patch) | |
tree | 12e91aa0c4a2c3089e6cb315a1bb04130b1af47a /sys/dev/isa/wt.c | |
parent | de5bb8a212717730ee837be4b4802e239bd9ed7f (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.c | 4 |
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; } |