Two more devstat_end_transaction() -> devstat_end_transaction_buf().
This commit is contained in:
parent
8912f39a53
commit
c8f101a29c
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -2548,14 +2548,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;
|
||||
|
@ -2548,14 +2548,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;
|
||||
|
Loading…
Reference in New Issue
Block a user