summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/sd.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2004-02-15 02:56:14 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2004-02-15 02:56:14 +0000
commitc00ecfdb91e4c410c776c1a5068c7bd104e9153f (patch)
treede0e5de587b9db09fdec387bd3feb72b020bb339 /sys/arch/hp300/dev/sd.c
parentadeb4584093c712f6aaa94ff2a634a06cbea94c7 (diff)
sneaky disk_unbusy()'s tried to hide
Diffstat (limited to 'sys/arch/hp300/dev/sd.c')
-rw-r--r--sys/arch/hp300/dev/sd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/sd.c b/sys/arch/hp300/dev/sd.c
index df9a4c49106..ceeb8aa0e02 100644
--- a/sys/arch/hp300/dev/sd.c
+++ b/sys/arch/hp300/dev/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.32 2003/11/03 05:34:43 david Exp $ */
+/* $OpenBSD: sd.c,v 1.33 2004/02/15 02:56:13 tedu Exp $ */
/* $NetBSD: sd.c,v 1.34 1997/07/10 18:14:10 kleink Exp $ */
/*
@@ -984,7 +984,8 @@ sdintr(arg, stat)
return;
}
- disk_unbusy(&sc->sc_dkdev, (bp->b_bcount - bp->b_resid));
+ disk_unbusy(&sc->sc_dkdev, (bp->b_bcount - bp->b_resid),
+ (bp->b_flags & B_READ));
if (stat) {
#ifdef DEBUG