1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Do not loose CCB flags after r320493.

There is at least CAM_UNLOCKED that should be kept.

MFC after:	3 days
This commit is contained in:
Alexander Motin 2017-08-09 09:13:15 +00:00
parent d80fbbee5f
commit c901a9b1f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322302

View File

@ -1003,7 +1003,8 @@ ctlfe_requeue_ccb(struct cam_periph *periph, union ccb *ccb, int unlock)
* target/lun. Reset the target and LUN fields back to the wildcard
* values before we send them back down to the SIM.
*/
xpt_setup_ccb(&ccb->ccb_h, periph->path, CAM_PRIORITY_NONE);
xpt_setup_ccb_flags(&ccb->ccb_h, periph->path, CAM_PRIORITY_NONE,
ccb->ccb_h.flags);
xpt_action(ccb);
}