]> 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)
commit5fd5e5f23ec1ed749ceed563e5dfe112715e8dab
treed5451cbcc52554eeb545a148e0cd632ddec94438
parent8b4db98597fc2d2d0739f38f21e4229e9ce216e2
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