Skip to content
Snippets Groups Projects
Commit 3487d9e7 authored by Roland Dreier's avatar Roland Dreier Committed by James Bottomley
Browse files

[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: default avatarRoland Dreier <rolandd@cisco.com>
Reviewed-by: default avatarMike Christie <michaelc@cs.wisc.edu>
Cc: Karen Xie <kxie@chelsio.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 7407e5bb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment