diff options
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r-- | sys/scsi/st.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c index e1e8e7069c8..bb7ce7a81fb 100644 --- a/sys/scsi/st.c +++ b/sys/scsi/st.c @@ -1,4 +1,4 @@ -/* $OpenBSD: st.c,v 1.31 2002/06/04 00:09:08 deraadt Exp $ */ +/* $OpenBSD: st.c,v 1.32 2002/06/09 00:05:57 art Exp $ */ /* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */ /* @@ -932,8 +932,9 @@ done: * Correctly set the buf to indicate a completed xfer */ bp->b_resid = bp->b_bcount; + s = splbio(); biodone(bp); - return; + splx(s); } /* @@ -961,6 +962,9 @@ ststart(v) int flags; SC_DEBUG(sc_link, SDEV_DB2, ("ststart ")); + + splassert(IPL_BIO); + /* * See if there is a buf to do and we are not already * doing one |