summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2017-08-12 10:22:18 +0000
committermav <mav@FreeBSD.org>2017-08-12 10:22:18 +0000
commit421999627a0a4cd844964230a704c8764ccf3ecb (patch)
tree24097415ad658912a4bddc98896402b61c6e9b90 /sys/cam
parent2ed13913a2bca2fdfaf9ca11aca71d60004bd6c5 (diff)
downloadFreeBSD-src-421999627a0a4cd844964230a704c8764ccf3ecb.zip
FreeBSD-src-421999627a0a4cd844964230a704c8764ccf3ecb.tar.gz
MFC r322302: Do not loose CCB flags after r320493.
There is at least CAM_UNLOCKED that should be kept.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/ctl/scsi_ctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/ctl/scsi_ctl.c b/sys/cam/ctl/scsi_ctl.c
index 18d429b..c1244228 100644
--- a/sys/cam/ctl/scsi_ctl.c
+++ b/sys/cam/ctl/scsi_ctl.c
@@ -1009,7 +1009,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);
}
OpenPOWER on IntegriCloud