]> www.infradead.org Git - users/hch/block.git/commit
block: rewrite bio_copy_data_iter to use bvec_kmap_local and memcpy_to_bvec
authorChristoph Hellwig <hch@lst.de>
Thu, 20 May 2021 12:29:58 +0000 (14:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Jun 2021 07:16:28 +0000 (10:16 +0300)
commit68f948fbdc74c7a8c592e81bc3e8ba3494318e3c
tree4fdef0f85601f9be74f33bf458f87ceb19eab17c
parentb9072c53734a70b186ea41332c9ce1353e8f53e0
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: Christoph Hellwig <hch@lst.de>
block/bio.c