aboutsummaryrefslogtreecommitdiff
path: root/sys/cam
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-08-09 09:13:15 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-08-09 09:13:15 +0000
commitc901a9b1f1468eb43242d884fe2c657395b37468 (patch)
tree988ab0d668a56d05769cc43b1cbff40c5845762e /sys/cam
parentd80fbbee5f287c8ad36061ba12acaa7b93154f77 (diff)
downloadsrc-c901a9b1f1468eb43242d884fe2c657395b37468.tar.gz
src-c901a9b1f1468eb43242d884fe2c657395b37468.zip
Do not loose CCB flags after r320493.
There is at least CAM_UNLOCKED that should be kept. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=322302
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 03b0d38e8b77..21d655325d1f 100644
--- a/sys/cam/ctl/scsi_ctl.c
+++ b/sys/cam/ctl/scsi_ctl.c
@@ -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);
}