From: Mike Christie Date: Mon, 16 Jun 2008 15:11:35 +0000 (-0500) Subject: [SCSI] iscsi class: fix endpoint leak X-Git-Tag: v2.6.27-rc1~1059^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f80f868ec463b0463b332cdb704fe5438f013f98;p=pandora-kernel.git [SCSI] iscsi class: fix endpoint leak class_find_device gets a ref to the device so we must release it. The class will serialize access to the ep so we do not have to worry about a remove racing with the callers access, so we can simplify the use and drop the ref right away. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed