]> git.baikalelectronics.ru Git - kernel.git/commit
block: bounce: avoid direct access to bvec table
authorMing Lei <ming.lei@redhat.com>
Mon, 18 Dec 2017 12:22:06 +0000 (20:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 6 Jan 2018 16:18:00 +0000 (09:18 -0700)
commit838d95e157b0cd200d9300bcb5628b023ef0d868
treed5451cbcc52554eeb545a148e0cd632ddec94438
parenta6c3c9d9a89540bc0af8bc52463551c1b32af66b
block: bounce: avoid direct access to bvec table

We will support multipage bvecs in the future, so change to iterator way
for getting bv_page of bvec from original bio.

Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bounce.c