Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d6b0c537 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent f58f8313
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment