summaryrefslogtreecommitdiffstats
path: root/lib/gcd.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2017-12-18 20:22:07 +0800
committerJens Axboe <axboe@kernel.dk>2018-01-06 09:18:00 -0700
commit3c892a098b0bfa3e571f1f0d2a7e72fbaeea691a (patch)
tree93a2f8c318cf22449587d8c3e9a1df6d52a4cc10 /lib/gcd.c
parent7891f05cbf4944a5436491d66de2be7533089aea (diff)
downloadlinux-3c892a098b0bfa3e571f1f0d2a7e72fbaeea691a.tar.gz
linux-3c892a098b0bfa3e571f1f0d2a7e72fbaeea691a.tar.bz2
linux-3c892a098b0bfa3e571f1f0d2a7e72fbaeea691a.zip
block: bounce: don't access bio->bi_io_vec in copy_to_high_bio_irq
Firstly this patch introduces BVEC_ITER_ALL_INIT for iterating one bio from start to end. As we need to support multipage bvecs, don't access bio->bi_io_vec in copy_to_high_bio_irq(), and just use the standard iterator for that. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions