Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Pass xfer size to disk_unbusy().
details: https://anonhg.NetBSD.org/src/rev/f625ca3defae
branches: trunk
changeset: 483956:f625ca3defae
user: ad <ad%NetBSD.org@localhost>
date: Tue Mar 21 19:47:59 2000 +0000
description:
Pass xfer size to disk_unbusy().
diffstat:
sys/dev/ic/ca.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8836cc7edbe9 -r f625ca3defae sys/dev/ic/ca.c
--- a/sys/dev/ic/ca.c Tue Mar 21 19:38:24 2000 +0000
+++ b/sys/dev/ic/ca.c Tue Mar 21 19:47:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ca.c,v 1.2 2000/03/20 18:48:34 ad Exp $ */
+/* $NetBSD: ca.c,v 1.3 2000/03/21 19:47:59 ad Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ca.c,v 1.2 2000/03/20 18:48:34 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ca.c,v 1.3 2000/03/21 19:47:59 ad Exp $");
#include "rnd.h"
@@ -498,7 +498,7 @@
} else
bp->b_resid = bp->b_bcount - ccb->ccb_datasize;
- disk_unbusy(&sc->sc_dk, 0);
+ disk_unbusy(&sc->sc_dk, ccb->ccb_datasize);
#if NRND > 0
rnd_add_uint32(&sc->sc_rnd_source, bp->b_rawblkno);
#endif
Home |
Main Index |
Thread Index |
Old Index