[SCSI] iscsi class: fix refcount leak
authorMike Christie <michaelc@cs.wisc.edu>
Mon, 16 Jun 2008 15:11:32 +0000 (10:11 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:29 +0000 (08:22 -0500)
commitc95fddc729fafb43f420747027eeb998c2e5e798
treeb40cce114afe66272434758746b29354bfe7dcbe
parentff0f4cb5ea322dcc32d08bab2d758c050ba1ab07
[SCSI] iscsi class: fix refcount leak

Must do a module_out if the endpoint lookup fails.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_transport_iscsi.c