block: bounce: avoid direct access to bvec table
authorMing Lei <[email protected]>
Mon, 18 Dec 2017 12:22:06 +0000 (20:22 +0800)
committerJens Axboe <[email protected]>
Sat, 6 Jan 2018 16:18:00 +0000 (09:18 -0700)
commit7891f05cbf4944a5436491d66de2be7533089aea
treed5451cbcc52554eeb545a148e0cd632ddec94438
parentc45a8f2def865e0d75b45618aef2963e15725cc4
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 <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/bounce.c