diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-27 07:56:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-02 13:37:28 -0600 |
commit | 8aec120a9ca80c14ce002505cea1e1639f8e9ea5 (patch) | |
tree | 81789fbf5239cf8da124a4d2a68f4076e1548fe4 /drivers/mtd | |
parent | 4aebe8596ab77b0b7125e3584ed0259c4657a06d (diff) |
block: use bvec_kmap_local in t10_pi_type1_{prepare,complete}
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>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20210727055646.118787-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions