summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wfd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-18 21:30:27 +0000
committerphk <phk@FreeBSD.org>1999-09-18 21:30:27 +0000
commita41657c540b5754aa0245f0ec705f900dfccc4a9 (patch)
treec5daa64e6f693863e10c3e27794090d8a5d8e1e7 /sys/i386/isa/wfd.c
parent924236547e11eeafee3db1e24987bb763df57937 (diff)
downloadFreeBSD-src-a41657c540b5754aa0245f0ec705f900dfccc4a9.zip
FreeBSD-src-a41657c540b5754aa0245f0ec705f900dfccc4a9.tar.gz
Use devstat_end_transaction_buf() rather than Use devstat_end_transaction()
Diffstat (limited to 'sys/i386/isa/wfd.c')
-rw-r--r--sys/i386/isa/wfd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/i386/isa/wfd.c b/sys/i386/isa/wfd.c
index 3a169ac..21fdb44 100644
--- a/sys/i386/isa/wfd.c
+++ b/sys/i386/isa/wfd.c
@@ -554,13 +554,7 @@ static void wfd_done (struct wfd *t, struct buf *bp, int resid,
*/
if (((int)bp->b_driver1)-- <= 0) {
bp->b_resid = (int)bp->b_driver2;
-
- /* Tell devstat we have finished with the transaction */
- devstat_end_transaction(&t->device_stats,
- bp->b_bcount - bp->b_resid,
- DEVSTAT_TAG_NONE,
- (bp->b_flags & B_READ) ? DEVSTAT_READ : DEVSTAT_WRITE);
-
+ devstat_end_transaction_buf(&t->device_stats, bp);
biodone (bp);
}
OpenPOWER on IntegriCloud