Commit b18d78d
nilfs2: convert nilfs_recovery_copy_block() to take a folio
Use memcpy_to_folio() instead of open-coding it, and use offset_in_folio()
in case anybody wants to use nilfs2 on a device with large blocks.
[[email protected]: added label name change]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent c1d73eb commit b18d78d
1 file changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
488 | | - | |
| 487 | + | |
489 | 488 | | |
490 | 489 | | |
491 | 490 | | |
492 | 491 | | |
493 | 492 | | |
494 | | - | |
495 | | - | |
496 | | - | |
| 493 | + | |
497 | 494 | | |
498 | 495 | | |
499 | 496 | | |
| |||
531 | 528 | | |
532 | 529 | | |
533 | 530 | | |
534 | | - | |
| 531 | + | |
535 | 532 | | |
536 | | - | |
| 533 | + | |
537 | 534 | | |
538 | 535 | | |
539 | 536 | | |
540 | | - | |
| 537 | + | |
541 | 538 | | |
542 | 539 | | |
543 | 540 | | |
| |||
548 | 545 | | |
549 | 546 | | |
550 | 547 | | |
551 | | - | |
| 548 | + | |
552 | 549 | | |
553 | 550 | | |
554 | 551 | | |
| |||
0 commit comments