Commit bd3d320
zram: use memcpy_from_bvec in zram_bvec_write
Use memcpy_from_bvec instead of open coding the logic.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20220303111905.321089-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent b3bd0a8 commit bd3d320
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1465 | 1465 | | |
1466 | 1466 | | |
1467 | 1467 | | |
1468 | | - | |
1469 | 1468 | | |
1470 | 1469 | | |
1471 | 1470 | | |
| |||
1483 | 1482 | | |
1484 | 1483 | | |
1485 | 1484 | | |
1486 | | - | |
1487 | 1485 | | |
1488 | | - | |
| 1486 | + | |
1489 | 1487 | | |
1490 | | - | |
1491 | 1488 | | |
1492 | 1489 | | |
1493 | 1490 | | |
| |||
0 commit comments