]> git.baikalelectronics.ru Git - kernel.git/commit
block: use memcpy_from_bvec in __blk_queue_bounce
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Jul 2021 05:56:44 +0000 (07:56 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Aug 2021 19:37:28 +0000 (13:37 -0600)
commit6a8b4b9c08943286732f926d5d0a66fc8d449516
tree9569fc69dd30347a906c90096695c8c64844d674
parentb14f6e6c99a26083421cea6761afac0f14ae18db
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>
Link: https://lore.kernel.org/r/20210727055646.118787-14-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bounce.c