From: Mike Christie Date: Mon, 16 Oct 2006 22:09:40 +0000 (-0400) Subject: [SCSI] libiscsi: fix missed iscsi_task_put in xmit error path X-Git-Tag: v2.6.19-rc4~86^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd529a46e17b43976d05c1e2ece2676ec7941cc8;p=pandora-kernel.git [SCSI] libiscsi: fix missed iscsi_task_put in xmit error path from bhalevy@gmail.com: It looks like change 652 to libiscsi.c added some dead code around line 670 if (rc) { spin_unlock_bh(&conn->session->lock); goto again; } since 5 lines above we goto again if (rc). It looks like the previous if (rc) should go away if we want to put the ctask before breaking out of the while loop with "goto again" (see following patch). Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed