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)
commitb7ab4611b6c793100197abc93e069d6f9aab7960
treed9d4d7fc116489fa9c5307baaeeabf936a0de962
parent143a70b8b4300faa92ad82468f65dccd440e7957
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