From: Mike Christie Date: Wed, 18 Nov 2009 03:25:16 +0000 (-0600) Subject: [SCSI] fc class: fix fc_transport_init error handling X-Git-Tag: v2.6.33-rc1~5^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48de68a40aef032a2e198437f4781a83bfb938db;p=pandora-kernel.git [SCSI] fc class: fix fc_transport_init error handling If transport_class_register fails we should unregister any registered classes, or we will leak memory or other resources. I did a quick modprobe of scsi_transport_fc to test the patch. Signed-off-by: Mike Christie Cc: Stable Tree Signed-off-by: James Bottomley --- Reading git-diff-tree failed