sdio_done: Log events if DEBUG_LASTREQS set.

This commit is contained in:
grog 1999-09-28 22:45:21 +00:00
parent 98afc1e9a0
commit 0baa5f682a

View File

@ -203,6 +203,10 @@ sdio_done(struct buf *bp)
bp->b_flags |= B_ERROR;
bp->b_error = sbp->b.b_error;
}
#ifdef VINUMDEBUG
if (debug & DEBUG_LASTREQS)
logrq(loginfo_sdiodone, (union rqinfou) bp, bp);
#endif
sbp->bp->b_resid = sbp->b.b_resid; /* copy the resid field */
biodone(sbp->bp); /* complete the caller's I/O */
/* Now update the statistics */