On 03/28/2014 06:51 PM, James Bottomley wrote: > From: Alan Stern <[email protected]> > > 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 <[email protected]> > Signed-off-by: James Bottomley <[email protected]>
<grin> Acked-by: Hannes Reinecke <[email protected]> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
