diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-19 12:43:34 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-19 12:43:34 +0000 |
| commit | 11a0be87e30848b33d057df78288c1b6c02a7bd4 (patch) | |
| tree | 86aa2f06e5852831602b46013936ebc0f58a269e /sys/dev | |
| parent | b6f18be1494b4331a3c90be60fd953a025625453 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/fdc/fdc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 38fd38e370e39..f51161b39deca 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -2099,14 +2099,8 @@ retrier(struct fdc_data *fdc) bp->b_error = EIO; bp->b_resid += bp->b_bcount - fdc->fd->skip; fdc->bp = NULL; - - /* Tell devstat we have finished with the transaction */ - devstat_end_transaction(&fdc->fd->device_stats, - bp->b_bcount - bp->b_resid, - DEVSTAT_TAG_NONE, - (bp->b_flags & B_READ) ? DEVSTAT_READ : - DEVSTAT_WRITE); fdc->fd->skip = 0; + devstat_end_transaction_buf(&fdc->fd->device_stats, bp); biodone(bp); fdc->state = FINDWORK; fdc->flags |= FDC_NEEDS_RESET; |
