]> www.infradead.org Git - users/hch/block.git/commit
block: use bvec_kmap_local in bio_integrity_process bvec-kmap-local
authorChristoph Hellwig <hch@lst.de>
Thu, 20 May 2021 12:21:13 +0000 (14:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 23 Jul 2021 05:39:50 +0000 (07:39 +0200)
commita122a9a67130b814a2b479b898997e17045da834
tree4b849b0e27d0fbc32efb3b96dc57ca3620d5d0dc
parenta157eec4e39872e373ae9c67788e5117445df9b8
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>
block/bio-integrity.c