From: Mike Christie Date: Fri, 15 Oct 2010 18:27:47 +0000 (-0700) Subject: [SCSI] qla2xxx: Drop srb reference before waiting for completion. X-Git-Tag: v2.6.37-rc1~6^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=170babc3721997b7808193221f94926df44f3d1e;p=pandora-kernel.git [SCSI] qla2xxx: Drop srb reference before waiting for completion. This patch fixes a regression introduced by commit 083a469db4ecf3b286a96b5b722c37fc1affe0be qla2xxx_eh_wait_on_command() is waiting for an srb to complete, which will never happen as the routine took a reference to the srb previously and will only drop it after this function. So every command abort will fail. Signed-off-by: Mike Christie Signed-off-by: Giridhar Malavali Signed-off-by: Madhuranath Iyengar Signed-off-by: James Bottomley --- Reading git-diff-tree failed