o Do not double i/o stats for cd(4) already acounted in g_disk_done().

PR:		kern/95707
Submitted by:	Andre Albsmeier
Reviewed by:	phk
MFC after:	2 weeks
This commit is contained in:
maxim 2006-04-17 09:12:53 +00:00
parent 9b9cc7a3a9
commit 2ebf2f589c

View File

@ -1669,7 +1669,7 @@ cddone(struct cam_periph *periph, union ccb *done_ccb)
if (softc->flags & CD_FLAG_CHANGER)
cdchangerschedule(softc);
biofinish(bp, softc->disk->d_devstat, 0);
biofinish(bp, NULL, 0);
break;
}
case CD_CCB_PROBE: