diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-07-02 11:06:28 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-07-02 12:17:19 -0400 |
commit | d6b0c53723753fc0cfda63f56735b225c43e1e9a (patch) | |
tree | 7ca09539e8b026b9ee2a885f391f8c5b13226a17 /drivers/scsi/nsp32.c | |
parent | f58f8313a6f552d1e7889926a29f0cf91c02f55d (diff) |
[SCSI] fix error handling in scsi_io_completion
There was a logic fault in scsi_io_completion() where zero transfer
commands that complete successfully were sent to the block layer as
not up to date. This patch removes the if (good_bytes > 0) gate
around the successful completion, since zero transfer commands do have
good_bytes == 0.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/nsp32.c')
0 files changed, 0 insertions, 0 deletions