]> www.infradead.org Git - users/hch/block.git/commit
bcache: use bvec_kmap_local in bio_csum
authorChristoph Hellwig <hch@lst.de>
Thu, 20 May 2021 13:10:45 +0000 (15:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 May 2021 05:57:23 +0000 (07:57 +0200)
commite7153c4d6f53ef2ced95f9b821dfc522fed9b47b
treea08612f060d8ec5476b33225ece91a885e578937
parent87cf300179a9cb1819aeb34b9dd70163472b1525
bcache: use bvec_kmap_local in bio_csum

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>
drivers/md/bcache/request.c