Date: Wed, 9 Aug 2017 09:13:16 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r322302 - head/sys/cam/ctl Message-ID: <201708090913.v799DGiv011215@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Wed Aug 9 09:13:15 2017 New Revision: 322302 URL: https://svnweb.freebsd.org/changeset/base/322302 Log: Do not loose CCB flags after r320493. There is at least CAM_UNLOCKED that should be kept. MFC after: 3 days Modified: head/sys/cam/ctl/scsi_ctl.c Modified: head/sys/cam/ctl/scsi_ctl.c ============================================================================== --- head/sys/cam/ctl/scsi_ctl.c Wed Aug 9 08:57:00 2017 (r322301) +++ head/sys/cam/ctl/scsi_ctl.c Wed Aug 9 09:13:15 2017 (r322302) @@ -1003,7 +1003,8 @@ ctlfe_requeue_ccb(struct cam_periph *periph, union ccb * 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708090913.v799DGiv011215>