WSL2-Linux-Kernel/drivers/scsi/cxgb3i
Roland Dreier 3487d9e7c4 [SCSI] cxgb3i: Fix error path for module init
If cxgb3i_pdu_init() fails, then it appears that cxgb3i_iscsi_init()
will not be cleaned up, leading to the iscsi transport being left
registered.  Fix this by adding a call to cxgb3i_iscsi_cleanup() on the
error path.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: Karen Xie <kxie@chelsio.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-05-02 15:35:23 -04:00
..
Kbuild kbuild: finally remove the obsolete variable $TOPDIR 2009-06-27 00:27:17 +02:00
Kconfig [SCSI] cxgb3i: fix select/depend problem 2008-12-30 13:09:12 -06:00
cxgb3i.h [SCSI] iscsi: pass ep connect shost 2009-05-23 15:44:09 -05:00
cxgb3i_ddp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cxgb3i_ddp.h include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cxgb3i_init.c [SCSI] cxgb3i: Fix error path for module init 2010-05-02 15:35:23 -04:00
cxgb3i_iscsi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cxgb3i_offload.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cxgb3i_offload.h [SCSI] iscsi: pass ep connect shost 2009-05-23 15:44:09 -05:00
cxgb3i_pdu.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cxgb3i_pdu.h [SCSI] cxgb3i: Outgoing pdus need to observe skb's MAX_SKB_FRAGS 2009-02-21 20:29:37 -06:00