summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/sd.c
diff options
context:
space:
mode:
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