Commit b3bd0a8
zram: use memcpy_to_bvec in zram_bvec_read
Use the proper helper instead of open coding the copy.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20220303111905.321089-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent b7ab461 commit b3bd0a8
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1331 | 1331 | | |
1332 | 1332 | | |
1333 | 1333 | | |
1334 | | - | |
1335 | 1334 | | |
1336 | 1335 | | |
1337 | | - | |
| 1336 | + | |
1338 | 1337 | | |
1339 | | - | |
1340 | 1338 | | |
1341 | 1339 | | |
1342 | 1340 | | |
| |||
0 commit comments