From: Matthew Wilcox (Oracle) Date: Mon, 31 Mar 2025 20:11:03 +0000 (+0100) Subject: f2fs: Remove f2fs_get_sum_page() X-Git-Tag: v6.16-rc1~115^2~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=366848cb7126b911ab6011472daf040750bd8e37;p=thirdparty%2Fkernel%2Flinux.git 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) Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index b3b39f645dece..c0c5eaec3e00d 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -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