]> www.infradead.org Git - users/hch/block.git/commit
block: use memcpy_from_bvec in __blk_queue_bounce
authorChristoph Hellwig <hch@lst.de>
Fri, 21 May 2021 06:39:28 +0000 (08:39 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 23 Jul 2021 05:39:50 +0000 (07:39 +0200)
commitcd49a8c5ec734e0e93d7d24dc9871e60a0869523
treeb2971d057d89a232584ce7002db7cb4161237f9a
parent53040adae3045b83f666acc8b3189b54a569d51c
block: use memcpy_from_bvec in __blk_queue_bounce

Rewrite the actual bounce buffering loop in __blk_queue_bounce to that
the memcpy_to_bvec helper can be used to perform the data copies.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
block/bounce.c