OpenCloudOS-Kernel/drivers/scsi/qla2xxx
Sawan Chandak 3be63b1e18 scsi: qla2xxx: Fix NPIV host cleanup in target mode
Add check to make sure we are cleaning up global target host list only
for NPIV hosts

Fixes: bdbe24de28 ("scsi: qla2xxx: Cleanup NPIV host in target mode during config teardown")
Cc: <stable@vger.kernel.org> # 4.10+
Signed-off-by: Sawan Chandak <sawan.chandak@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-12-07 21:07:04 -05:00
..
Kconfig scsi: qla2xxx: avoid unused-function warning 2017-07-01 17:14:58 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla_attr.c Merge branch 'fixes' into misc 2017-09-07 12:12:43 -07:00
qla_bsg.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_bsg.h qla2xxx: Add bsg interface to support statistics counter reset. 2016-07-15 15:35:37 -04:00
qla_dbg.c scsi: qla2xxx: Remove potential macro parameter side-effect in ql_dump_regs() 2017-08-24 22:29:28 -04:00
qla_dbg.h scsi: qla2xxx: Include Exchange offload/Extended Login into FW dump 2017-06-27 21:21:41 -04:00
qla_def.h scsi: qla2xxx: Serialize GPNID for multiple RSCN 2017-12-07 21:07:03 -05:00
qla_devtbl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qla_dfs.c scsi: qla2xxx: Move target stat counters from vha to qpair. 2017-06-27 21:21:41 -04:00
qla_fw.h scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_gbl.h SCSI misc on 20171114 2017-11-14 16:23:44 -08:00
qla_gs.c scsi: qla2xxx: Serialize GPNID for multiple RSCN 2017-12-07 21:07:03 -05:00
qla_init.c scsi: qla2xxx: Fix login state machine stuck at GPDB 2017-12-07 21:07:03 -05:00
qla_inline.h scsi: qla2xxx: Convert timers to use timer_setup() 2017-11-08 15:51:35 -08:00
qla_iocb.c scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_isr.c scsi: qla2xxx: Serialize GPNID for multiple RSCN 2017-12-07 21:07:03 -05:00
qla_mbx.c scsi: qla2xxx: Changes to support N2N logins 2017-10-16 23:02:20 -04:00
qla_mid.c SCSI misc on 20171114 2017-11-14 16:23:44 -08:00
qla_mr.c scsi: qla2xxx: don't break the bsg-lib abstractions 2017-10-16 23:46:21 -04:00
qla_mr.h
qla_nvme.c qla2xxx: remove use of FC-specific error codes 2017-09-25 08:56:05 -06:00
qla_nvme.h scsi: qla2xxx: Move function prototype to correct header 2017-08-07 14:04:02 -04:00
qla_nx.c scsi: qla2xxx: fix a bunch of typos and spelling mistakes 2017-07-01 17:12:31 -04:00
qla_nx.h scsi: qla2xxx: remove writeq/readq function definitions 2017-06-12 20:48:08 -04:00
qla_nx2.c scsi: qla2xxx: fix a bunch of typos and spelling mistakes 2017-07-01 17:12:31 -04:00
qla_nx2.h qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_os.c scsi: qla2xxx: Serialize GPNID for multiple RSCN 2017-12-07 21:07:03 -05:00
qla_settings.h
qla_sup.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
qla_target.c scsi: qla2xxx: Fix NPIV host cleanup in target mode 2017-12-07 21:07:04 -05:00
qla_target.h scsi: qla2xxx: Cleanup NPIV host in target mode during config teardown 2017-08-24 22:29:30 -04:00
qla_tmpl.c Merge branch 'fixes' into misc 2017-09-07 12:12:43 -07:00
qla_tmpl.h qla2xxx: ISP27xx fwdump template error print simplification. 2014-09-25 14:25:02 +02:00
qla_version.h scsi: qla2xxx: Update driver version to 10.00.00.02-k 2017-10-16 23:02:52 -04:00
tcm_qla2xxx.c qla2xxx: Fix incorrect tcm_qla2xxx_free_cmd use during TMR ABORT (v2) 2017-07-30 16:48:43 -07:00
tcm_qla2xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00