]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: missing add of padded bytes to io completion byte count
authorJens Axboe <jens.axboe@oracle.com>
Tue, 4 Mar 2008 19:22:54 +0000 (20:22 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 4 Mar 2008 19:24:05 +0000 (20:24 +0100)
commitc38e1c30a1a2a96e277692ac3356603b459cdd2f
treeedd25900b25c853540cdaeca4f1d2b10fc560493
parent1d328e5c8f45dd87067b559ed59b64e78ce09359
scsi: missing add of padded bytes to io completion byte count

Original patch from Tejun Heo <htejun@gmail.com> but should use ->extra_len
and not ->data_len, as we would then overshoot the original request size.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/scsi.c