]> www.infradead.org Git - users/hch/block.git/commit
dm-writecache: use bvec_kmap_local instead of bvec_kmap_irq
authorChristoph Hellwig <hch@lst.de>
Thu, 20 May 2021 12:08:56 +0000 (14:08 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Jun 2021 07:14:05 +0000 (10:14 +0300)
commit351a83de0215337e7444ddc74652e63cc70a5a1d
tree46ed8382d4e9d4a24dc01363c236da5f65ae845a
parent2636a37e830b514999a121b9139127a7190cfcd0
dm-writecache: use bvec_kmap_local instead of bvec_kmap_irq

There is no need to disable interrupts in bio_copy_block, and the local
only mappings helps to avoid any sort of problems with stray writes
into the bio data.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/md/dm-writecache.c