]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
f2fs: Remove f2fs_get_sum_page()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 31 Mar 2025 20:11:03 +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_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>
fs/f2fs/f2fs.h

index b3b39f645dece05c0c7c0b81cd86b7f42c745d10..c0c5eaec3e00d52f57d61e77265949345cdd35ae 100644 (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