aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/tb0219.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-08-25 20:36:08 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-08-27 09:50:19 +0200
commitaefcc28a3a63ac33a298777aa50ba43641c75241 (patch)
treed72a23323e80b45da16ea916c9abe03d6a3f6bfd /drivers/char/tb0219.c
parent76029ff37f31dad64641489c610d98955217bb68 (diff)
bio: fix __bio_copy_iov() handling of bio->bv_len
The commit c5dec1c3034f1ae3503efbf641ff3b0273b64797 introduced __bio_copy_iov() to add bounce support to blk_rq_map_user_iov. __bio_copy_iov() uses bio->bv_len to copy data for READ commands after the completion but it doesn't work with a request that partially completed. SCSI always completes a PC request as a whole but seems some don't. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: stable@kernel.org Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/char/tb0219.c')
0 files changed, 0 insertions, 0 deletions