Commit e828a18
dm vdo: Update code to use mem_is_zero
Remove function that would check if data was all zeroes. Use the
built-in kernel function mem_is_zero() instead.
Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>1 parent 2b1c6d7 commit e828a18
1 file changed
Lines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
509 | 510 | | |
510 | 511 | | |
511 | 512 | | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | 513 | | |
525 | 514 | | |
526 | 515 | | |
| |||
572 | 561 | | |
573 | 562 | | |
574 | 563 | | |
575 | | - | |
| 564 | + | |
576 | 565 | | |
577 | 566 | | |
578 | 567 | | |
| |||
1459 | 1448 | | |
1460 | 1449 | | |
1461 | 1450 | | |
1462 | | - | |
| 1451 | + | |
1463 | 1452 | | |
1464 | 1453 | | |
1465 | 1454 | | |
| |||
0 commit comments