[SCSI] fix error handling in scsi_io_completion
authorJames Bottomley <James.Bottomley@steeleye.com>
Sun, 2 Jul 2006 15:06:28 +0000 (10:06 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 2 Jul 2006 16:17:19 +0000 (11:17 -0500)
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>

No differences found