Replace the only remaining caller of fsverity_verify_page() with the
equivalent direct call to fsverity_verify_blocks().  No functional
change.  This will allow fsverity_verify_page() to be removed.

Signed-off-by: Eric Biggers <[email protected]>
---
 fs/f2fs/compress.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c
index 006a80acd1de..6d688835387d 100644
--- a/fs/f2fs/compress.c
+++ b/fs/f2fs/compress.c
@@ -1815,11 +1815,12 @@ static void f2fs_verify_cluster(struct work_struct 
*work)
                struct page *rpage = dic->rpages[i];
 
                if (!rpage)
                        continue;
 
-               if (fsverity_verify_page(dic->vi, rpage))
+               if (fsverity_verify_blocks(dic->vi, page_folio(rpage),
+                                          PAGE_SIZE, 0))
                        SetPageUptodate(rpage);
                else
                        ClearPageUptodate(rpage);
                unlock_page(rpage);
        }
-- 
2.53.0



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to