[SCSI] saved and restore result for timed out commands
authorPatrick Mansfield <patmans@us.ibm.com>
Tue, 17 May 2005 00:42:15 +0000 (17:42 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 20 May 2005 20:47:52 +0000 (15:47 -0500)
Save and restore the scmd->result, so that timed out commands do not
return the result of the TEST UNIT READY or the start/stop commands. Code
is already in place to save and restore the result for the request sense
case.

The previous version of this patch erroneously removed the "if" check,
instead add a comment as to why the "if" is needed.

Signed-off-by: Patrick Mansfield <patmans@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found