]> git.baikalelectronics.ru Git - kernel.git/commit
dm integrity: use bvec_kmap_local in __journal_read_write
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2021 13:44:04 +0000 (15:44 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 1 Nov 2021 17:28:46 +0000 (13:28 -0400)
commit9fd3b1ce0d4f63bcd8eff3b778de0b177880a41e
tree8dd5f4189ca55c7e9671fa5e00433ba0133bd824
parent1ae372450b03ec86e2f305080c332410df508d18
dm integrity: use bvec_kmap_local in __journal_read_write

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>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-integrity.c