]> git.baikalelectronics.ru Git - kernel.git/commit
aoe: use bvec_kmap_local in bvcpy
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Mar 2022 11:18:57 +0000 (14:18 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Mar 2022 19:29:20 +0000 (12:29 -0700)
commit4778ce121080584ae3f383962d0ad17f0bbde34f
treed9d4d7fc116489fa9c5307baaeeabf936a0de962
parentfd4ba6e12d2fb102b68ac489c325371a85690f5d
aoe: use bvec_kmap_local in bvcpy

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>
Link: https://lore.kernel.org/r/20220303111905.321089-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoecmd.c