From: Matthew Wilcox (Oracle) Date: Mon, 31 Mar 2025 20:10:56 +0000 (+0100) Subject: f2fs: Remove f2fs_get_meta_page() X-Git-Tag: v6.16-rc1~115^2~147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=657b31b2d71cad687bbfddde99d90b879267d096;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 39e83a8080fa4..6bab955685c8a 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 */