]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nilfs2: convert nilfs_recovery_copy_block() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 24 Oct 2024 09:25:45 +0000 (18:25 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:40 +0000 (17:12 -0800)
commitb18d78dec38e0ccd06e968396388eadea1da1c4e
tree376bf70d81ab73bf8cc71176104b185976401810
parentc1d73eb8d06003e7714cd3ce1d0d79832e59b1e9
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.

[konishi.ryusuke@gmail.com: added label name change]
Link: https://lkml.kernel.org/r/20241002150036.1339475-4-willy@infradead.org
Link: https://lkml.kernel.org/r/20241024092602.13395-12-konishi.ryusuke@gmail.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/recovery.c