Remove the unnecessary clearing of PG_uptodate. It's guaranteed to already be clear.
Suggested-by: Matthew Wilcox <[email protected]> Signed-off-by: Eric Biggers <[email protected]> --- fs/f2fs/compress.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 006a80acd1de..355762d11e25 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -1817,12 +1817,10 @@ static void f2fs_verify_cluster(struct work_struct *work) if (!rpage) continue; if (fsverity_verify_page(dic->vi, rpage)) SetPageUptodate(rpage); - else - ClearPageUptodate(rpage); unlock_page(rpage); } f2fs_put_dic(dic, true); } -- 2.53.0 _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
