commit | a87e3a67d57472f40da2218793ff6d25c4518498 | [log] [tgz] |
---|---|---|
author | Douglas Gilbert <dgilbert@interlog.com> | Fri Dec 17 19:16:06 2010 -0500 |
committer | James Bottomley <James.Bottomley@suse.de> | Wed Dec 22 23:26:49 2010 -0600 |
tree | 4d961347263e06ee018821aa4195d1db22e29c65 | |
parent | a8733c7baf457b071528e385a0b7d4aaec79287c [diff] |
[SCSI] scsi_debug: set resid to indicate no data-in when medium error set resid to the requested data-in length when a MEDIUM ERROR is simulated. This implies no valid data is returned in the data-in buffer Signed-off-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>