f2fs: Remove f2fs_get_sum_page()

All callers have now been converted to call f2fs_get_sum_folio()
instead.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Matthew Wilcox (Oracle) 2025-03-31 21:11:03 +01:00 committed by Jaegeuk Kim
parent 0e1073f850
commit 366848cb71

View File

@ -3877,12 +3877,6 @@ static inline struct inode *fio_inode(struct f2fs_io_info *fio)
return page_folio(fio->page)->mapping->host;
}
static inline
struct page *f2fs_get_sum_page(struct f2fs_sb_info *sbi, unsigned int segno)
{
return &f2fs_get_sum_folio(sbi, segno)->page;
}
#define DEF_FRAGMENT_SIZE 4
#define MIN_FRAGMENT_SIZE 1
#define MAX_FRAGMENT_SIZE 512