OpenCloudOS-Kernel/drivers/scsi/elx/efct
James Smart f7c95d7460 scsi: elx: efct: Fix vport list linkage in LIO backend
vport is linked onto the driver's vport list at allocation, but failure
path fails to remove it from the list.

Change location of linkage until after complete vport completion.

Link: https://lore.kernel.org/r/20210619155729.20049-1-jsmart2021@gmail.com
Fixes: 692e5d73a8 ("scsi: elx: efct: LIO backend interface routines")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Co-developed-by: Ram Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: Ram Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-06-22 21:11:37 -04:00
..
efct_driver.c scsi: elx: efct: Fix spelling mistake "Unexected" -> "Unexpected" 2021-06-18 23:01:03 -04:00
efct_driver.h
efct_hw.c scsi: elx: efct: Fix is_originator return code type 2021-06-18 23:01:04 -04:00
efct_hw.h scsi: elx: efct: Fix link error for _bad_cmpxchg 2021-06-18 23:01:04 -04:00
efct_hw_queues.c scsi: elx: efct: Hardware queue creation and deletion 2021-06-15 23:39:31 -04:00
efct_io.c scsi: elx: efct: Hardware queues processing 2021-06-15 23:39:31 -04:00
efct_io.h scsi: elx: efct: Hardware queues processing 2021-06-15 23:39:31 -04:00
efct_lio.c scsi: elx: efct: Fix vport list linkage in LIO backend 2021-06-22 21:11:37 -04:00
efct_lio.h scsi: elx: efct: LIO backend interface routines 2021-06-15 23:39:32 -04:00
efct_scsi.c scsi: elx: efct: SCSI I/O handling routines 2021-06-15 23:39:32 -04:00
efct_scsi.h scsi: elx: efct: SCSI I/O handling routines 2021-06-15 23:39:32 -04:00
efct_unsol.c scsi: elx: efct: Remove redundant initialization of variable lun 2021-06-18 23:01:03 -04:00
efct_unsol.h scsi: elx: efct: Unsolicited FC frame processing routines 2021-06-15 23:39:32 -04:00
efct_xport.c scsi: elx: efct: Fix pointer error checking in debugfs init 2021-06-18 23:01:04 -04:00
efct_xport.h