f2fs: make f2fs_verify_cluster() partially large-folio-aware
authorEric Biggers <ebiggers@kernel.org>
Wed, 18 Feb 2026 01:06:29 +0000 (17:06 -0800)
committerEric Biggers <ebiggers@kernel.org>
Wed, 18 Feb 2026 07:11:36 +0000 (23:11 -0800)
commit78cdb14893614dc46a06fe075abf19e0d8eddc66
treea842a94877ca5472dbf4c733f7aa7b507500dff1
parent079220c56f83b8abaf74724903c52cbad06d7163
f2fs: make f2fs_verify_cluster() partially large-folio-aware

f2fs_verify_cluster() is the only remaining caller of the
non-large-folio-aware function fsverity_verify_page().   To unblock the
removal of that function, change f2fs_verify_cluster() to verify the
entire folio of each page and mark it up-to-date.

Note that this doesn't actually make f2fs_verify_cluster()
large-folio-aware, as it is still passed an array of pages.  Currently,
it's never called with large folios.

Suggested-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20260218010630.7407-3-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
fs/f2fs/compress.c