From 657b31b2d71cad687bbfddde99d90b879267d096 Mon Sep 17 00:00:00 2001 From: "Matthew Wilcox (Oracle)" Date: Mon, 31 Mar 2025 21:10:56 +0100 Subject: [PATCH] f2fs: Remove f2fs_get_meta_page() All callers have now been converted to f2fs_get_meta_folio() so we can remove this wrapper. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 39e83a8080fa..6bab955685c8 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -3936,12 +3936,6 @@ int f2fs_start_ckpt_thread(struct f2fs_sb_info *sbi); void f2fs_stop_ckpt_thread(struct f2fs_sb_info *sbi); void f2fs_init_ckpt_req_control(struct f2fs_sb_info *sbi); -static inline -struct page *f2fs_get_meta_page(struct f2fs_sb_info *sbi, pgoff_t index) -{ - return &f2fs_get_meta_folio(sbi, index)->page; -} - /* * data.c */ -- 2.50.1