mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 06:41:43 +00:00
3487d9e7c4
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> |
||
---|---|---|
.. | ||
cxgb3i_ddp.c | ||
cxgb3i_ddp.h | ||
cxgb3i_init.c | ||
cxgb3i_iscsi.c | ||
cxgb3i_offload.c | ||
cxgb3i_offload.h | ||
cxgb3i_pdu.c | ||
cxgb3i_pdu.h | ||
cxgb3i.h | ||
Kbuild | ||
Kconfig |