From: James Bottomley Date: Sun, 2 Jul 2006 15:06:28 +0000 (-0500) Subject: [SCSI] fix error handling in scsi_io_completion X-Git-Tag: v2.6.18-rc1~22^2^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b0c53723753fc0cfda63f56735b225c43e1e9a;p=pandora-kernel.git [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 --- Reading git-diff-tree failed