Commit 3205190
nvdimm-btt: use bvec_kmap_local in btt_rw_integrity
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: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20220303111905.321089-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 20072ec commit 3205190
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
1166 | | - | |
| 1166 | + | |
1167 | 1167 | | |
1168 | | - | |
1169 | | - | |
| 1168 | + | |
1170 | 1169 | | |
1171 | 1170 | | |
1172 | | - | |
1173 | | - | |
| 1171 | + | |
1174 | 1172 | | |
1175 | 1173 | | |
1176 | | - | |
| 1174 | + | |
1177 | 1175 | | |
1178 | 1176 | | |
1179 | 1177 | | |
| |||
0 commit comments