summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorJames Bottomley2006-07-02 17:06:28 +0200
committerJames Bottomley2006-07-02 18:17:19 +0200
commitd6b0c53723753fc0cfda63f56735b225c43e1e9a (patch)
tree7ca09539e8b026b9ee2a885f391f8c5b13226a17 /drivers/scsi/sd.c
parent[SCSI] qla1280: fix section mismatch warnings (diff)
downloadkernel-qcow2-linux-d6b0c53723753fc0cfda63f56735b225c43e1e9a.tar.gz
kernel-qcow2-linux-d6b0c53723753fc0cfda63f56735b225c43e1e9a.tar.xz
kernel-qcow2-linux-d6b0c53723753fc0cfda63f56735b225c43e1e9a.zip
[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/sd.c')
0 files changed, 0 insertions, 0 deletions