]> www.infradead.org Git - users/hch/block.git/commit
drbd: use bvec_kmap_local in drbd_csum_bio
authorChristoph Hellwig <hch@lst.de>
Thu, 20 May 2021 13:12:05 +0000 (15:12 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 May 2021 05:57:23 +0000 (07:57 +0200)
commit23f8bcd8f49775d197ef80385c674bc56217e97c
tree1a63021741e8c6109677abf6d56646c830542ade
parente7153c4d6f53ef2ced95f9b821dfc522fed9b47b
drbd: use bvec_kmap_local in drbd_csum_bio

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/block/drbd/drbd_worker.c