Skip to content

Commit 079220c

Browse files
author
Eric Biggers
committed
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>
1 parent 64275e9 commit 079220c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

fs/f2fs/compress.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,8 +1819,6 @@ static void f2fs_verify_cluster(struct work_struct *work)
18191819

18201820
if (fsverity_verify_page(dic->vi, rpage))
18211821
SetPageUptodate(rpage);
1822-
else
1823-
ClearPageUptodate(rpage);
18241822
unlock_page(rpage);
18251823
}
18261824

0 commit comments

Comments
 (0)