diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2017-08-24 01:05:13 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-25 05:29:27 +0300 |
commit | 72fcd4eb3c046cd59cb2ab5a7fc1555e8621a4b0 (patch) | |
tree | 8f80091a4249dc138a2cbb2b536a635ca7a706b7 /drivers/scsi/qla2xxx/qla_target.h | |
parent | a14c771125c99bbe7f9075f1da3b1fcd8e3f4d2c (diff) | |
download | linux-72fcd4eb3c046cd59cb2ab5a7fc1555e8621a4b0.tar.xz |
scsi: qla2xxx: Fix task mgmt handling for NPIV
Fix task management response for NPIV Target mode.
Current code uses the wrong vp index.
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_target.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_target.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.h b/drivers/scsi/qla2xxx/qla_target.h index 7fe02d036bdf..96fce43e1e46 100644 --- a/drivers/scsi/qla2xxx/qla_target.h +++ b/drivers/scsi/qla2xxx/qla_target.h @@ -959,6 +959,7 @@ struct qla_tgt_mgmt_cmd { uint8_t fc_tm_rsp; struct fc_port *sess; struct qla_qpair *qpair; + struct scsi_qla_host *vha; struct se_cmd se_cmd; struct work_struct free_work; unsigned int flags; |