diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-06 20:00:03 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-06 20:00:03 +0000 |
| commit | a468031ce841abd412daba673e4d29f4731877b9 (patch) | |
| tree | a64ebdb241a0dd62cdc943d74032c6052aec5c9b /sys/dev/fdc | |
| parent | 18ee6cea78ac0da9e19d19cb67a68f0ff382ed21 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fdc')
| -rw-r--r-- | sys/dev/fdc/fdc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 285aed88351d..29939cc840ba 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -2082,8 +2082,7 @@ fdstate(fdc_p fdc) fd->skip = 0; fdc->bp = NULL; device_unbusy(fd->dev); - devstat_end_transaction_bio(&fd->device_stats, bp); - biodone(bp); + biofinish(bp, &fd->device_stats, 0); fdc->fd = (fd_p) 0; fdc->fdu = -1; fdc->state = FINDWORK; @@ -2246,8 +2245,7 @@ retrier(struct fdc_data *fdc) fdc->bp = NULL; fdc->fd->skip = 0; device_unbusy(fd->dev); - devstat_end_transaction_bio(&fdc->fd->device_stats, bp); - biodone(bp); + biofinish(bp, &fdc->fd->device_stats, 0); fdc->state = FINDWORK; fdc->flags |= FDC_NEEDS_RESET; fdc->fd = (fd_p) 0; |
