diff options
author | Pete Wyckoff <pw@osc.edu> | 2007-03-13 21:53:28 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-20 16:53:51 +0100 |
commit | b22f687dd28a7a8886b918294b4d558ef175c07d (patch) | |
tree | fe3fd16b98cb51bc5eb383d8c57b1ac4d2557032 /drivers/scsi/aacraid/rx.c | |
parent | [SCSI] tgt: remove the code to build sense (diff) | |
download | linux-b22f687dd28a7a8886b918294b4d558ef175c07d.tar.xz linux-b22f687dd28a7a8886b918294b4d558ef175c07d.zip |
[SCSI] set resid in scsi_io_completion() even for check condition
Some targets can return both valid data and sense information.
Always update the request data_len from the SCSI command residual.
Callers should interpret sense data to determine what parts of the
data are valid in case of a CHECK CONDITION status.
Signed-off-by: Pete Wyckoff <pw@osc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/rx.c')
0 files changed, 0 insertions, 0 deletions