block: use bvec_kmap_local in bio_integrity_process
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Jul 2021 05:56:46 +0000 (07:56 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Aug 2021 19:37:28 +0000 (13:37 -0600)
commit503469b5b30f76169c6302d1469e69a2fb67faf9
tree23cb54b05c6112ab49a75492bd501d690ac3ed1c
parent8aec120a9ca80c14ce002505cea1e1639f8e9ea5
block: use bvec_kmap_local in bio_integrity_process

Using local kmaps slightly reduces the chances to stray writes, and
the bvec interface cleans up the code a little bit.

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-16-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c