From: Alan Stern Date: Fri, 28 Mar 2014 17:51:15 +0000 (-0700) Subject: [SCSI] Fix command result state propagation X-Git-Tag: omap-for-v3.16/pm-signed~51^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=644373a4219add42123df69c8b7ce6a918475ccd;p=pandora-kernel.git [SCSI] Fix command result state propagation We're seeing a case where the contents of scmd->result isn't being reset after a SCSI command encounters an error, is resubmitted, times out and then gets handled. The error handler acts on the stale result of the previous error instead of the timeout. Fix this by properly zeroing the scmd->status before the command is resubmitted. Signed-off-by: Alan Stern Signed-off-by: James Bottomley --- Reading git-diff-tree failed