f2fs: remove unnecessary ClearPageUptodate in f2fs_verify_cluster()

Remove the unnecessary clearing of PG_uptodate.  It's guaranteed to
already be clear.

Suggested-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20260218010630.7407-2-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
This commit is contained in:
Eric Biggers 2026-02-17 17:06:28 -08:00
parent 64275e9fda
commit 079220c56f

View File

@ -1819,8 +1819,6 @@ static void f2fs_verify_cluster(struct work_struct *work)
if (fsverity_verify_page(dic->vi, rpage))
SetPageUptodate(rpage);
else
ClearPageUptodate(rpage);
unlock_page(rpage);
}