cam: Mark the qos data is valid in xpd_done_direct() too.

Sponsored by:		Netflix

(cherry picked from commit abea0c6b0d)
This commit is contained in:
Warner Losh 2021-07-17 16:10:46 -06:00
parent 5b194853b9
commit 6af8350df6

View file

@ -4648,6 +4648,7 @@ xpt_done_direct(union ccb *done_ccb)
/* Store the time the ccb was in the sim */
done_ccb->ccb_h.qos.periph_data = cam_iosched_delta_t(done_ccb->ccb_h.qos.periph_data);
done_ccb->ccb_h.status |= CAM_QOS_VALID;
xpt_done_process(&done_ccb->ccb_h);
}