From: Roland Dreier Date: Wed, 28 Apr 2010 05:39:22 +0000 (-0700) Subject: [SCSI] cxgb3i: Fix error path for module init X-Git-Tag: v2.6.35-rc1~470^2^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3487d9e7c4727b3e587f61d2120e35e34f200faa;p=pandora-kernel.git [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 Reviewed-by: Mike Christie Cc: Karen Xie Signed-off-by: James Bottomley --- Reading git-diff-tree failed