f2fs: Remove f2fs_find_data_page()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 31 Mar 2025 20:11:07 +0000 (21:11 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Apr 2025 15:26:32 +0000 (15:26 +0000)
All callers have now been converted to call f2fs_find_data_folio().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h

index c0c5eaec3e00d52f57d61e77265949345cdd35ae..a5a3210fe1d610690255a1bfdf59927d9656fd9b 100644 (file)
@@ -3997,14 +3997,6 @@ int f2fs_init_post_read_wq(struct f2fs_sb_info *sbi);
 void f2fs_destroy_post_read_wq(struct f2fs_sb_info *sbi);
 extern const struct iomap_ops f2fs_iomap_ops;
 
-static inline struct page *f2fs_find_data_page(struct inode *inode,
-               pgoff_t index, pgoff_t *next_pgofs)
-{
-       struct folio *folio = f2fs_find_data_folio(inode, index, next_pgofs);
-
-       return &folio->page;
-}
-
 static inline struct page *f2fs_get_lock_data_page(struct inode *inode,
                pgoff_t index, bool for_write)
 {