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/isa/fd.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/isa/fd.c')
-rw-r--r-- | sys/isa/fd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c index 4075bf4..38fd38e 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -1935,12 +1935,7 @@ fdstate(fdc_p fdc) /* ALL DONE */ fd->skip = 0; fdc->bp = NULL; - /* Tell devstat we have finished with the transaction */ - devstat_end_transaction(&fd->device_stats, - bp->b_bcount - bp->b_resid, - DEVSTAT_TAG_NONE, - (bp->b_flags & B_READ) ? - DEVSTAT_READ : DEVSTAT_WRITE); + devstat_end_transaction_buf(&fd->device_stats, bp); biodone(bp); fdc->fd = (fd_p) 0; fdc->fdu = -1; |