]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix incorrect constants of target tag action.
authorAlexander Motin <mav@FreeBSD.org>
Sun, 25 Oct 2020 16:58:48 +0000 (16:58 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Sun, 25 Oct 2020 16:58:48 +0000 (16:58 +0000)
commiteb5a54f8802fca0ca8a7a96734f7bd0764e26678
treed7acae51478f878d66444d96e58ef0c2b90aa201
parent50f7cdf21c6efc8a665625f406bf58b8c082b9ea
Fix incorrect constants of target tag action.

ocs_scsi_recv_cmd() receives the flags after ocs_get_flags_fcp_cmd(),
which translates them from FCP_TASK_ATTR_* to OCS_SCSI_CMD_*.  As result
non-SIMPLE requests turned into HEAD or ORDERED depending on direction.

MFC after: 2 weeks
sys/dev/ocs_fc/ocs_cam.c