From: Matthew Wilcox (Oracle) Date: Mon, 31 Mar 2025 20:10:46 +0000 (+0100) Subject: f2fs: Remove f2fs_grab_meta_page() X-Git-Tag: v6.16-rc1~115^2~157 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2424ee9b752a9525c26a4a5514a355fda7e3a8b7;p=linux-block.git f2fs: Remove f2fs_grab_meta_page() All callers have now been converted to f2fs_grab_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 9915f31ee2d1..160c1cc3d963 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_grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index) -{ - return &f2fs_grab_meta_folio(sbi, index)->page; -} - /* * data.c */