commit | 3487d9e7c4727b3e587f61d2120e35e34f200faa | [log] [tgz] |
---|---|---|
author | Roland Dreier <rdreier@cisco.com> | Tue Apr 27 22:39:22 2010 -0700 |
committer | James Bottomley <James.Bottomley@suse.de> | Sun May 02 15:35:23 2010 -0400 |
tree | 484e78c0ef60b291023f3895a48cc6037c74e6e3 | |
parent | 7407e5bba2cc821950344fd1391d9ad1b7e0b397 [diff] |
[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>