diff options
author | phk <phk@FreeBSD.org> | 1999-09-18 21:30:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-09-18 21:30:27 +0000 |
commit | a41657c540b5754aa0245f0ec705f900dfccc4a9 (patch) | |
tree | c5daa64e6f693863e10c3e27794090d8a5d8e1e7 /sys/i386/isa/wd.c | |
parent | 924236547e11eeafee3db1e24987bb763df57937 (diff) | |
download | FreeBSD-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/wd.c')
-rw-r--r-- | sys/i386/isa/wd.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c index 76a9755..93a031e 100644 --- a/sys/i386/isa/wd.c +++ b/sys/i386/isa/wd.c @@ -1157,13 +1157,7 @@ done: ; bp->b_resid = bp->b_bcount - du->dk_skip * DEV_BSIZE; wdutab[du->dk_lunit].b_active = 0; du->dk_skip = 0; - - /* Update device stats */ - devstat_end_transaction(&du->dk_stats, - bp->b_bcount - bp->b_resid, - DEVSTAT_TAG_NONE, - (bp->b_flags & B_READ) ? DEVSTAT_READ : DEVSTAT_WRITE); - + devstat_end_transaction_buf(&du->dk_stats, bp); biodone(bp); } |