]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite97a294ef6938512b655b1abf17656cf2b26f709
treeedd25900b25c853540cdaeca4f1d2b10fc560493
parent87baa2bb904ed46f872385fe430b6cfb80967835
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