Skip to content
Commit f8b679a0 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

block: rewrite bio_copy_data_iter to use bvec_kmap_local and memcpy_to_bvec



Use the proper helpers instead of open coding the copy.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20210727055646.118787-11-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bda135d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment