diff mbox series

[f2fs-dev,043/153] f2fs: Remove f2fs_get_sum_page()

Message ID 20250331201256.1057782-44-willy@infradead.org (mailing list archive)
State New
Headers show
Series f2fs folio conversions for 6.16 | expand

Commit Message

Matthew Wilcox (Oracle) March 31, 2025, 8:11 p.m. UTC
All callers have now been converted to call f2fs_get_sum_folio()
instead.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
---
 fs/f2fs/f2fs.h | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 55a161d39e4a..b6ca1e5a721e 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -3863,12 +3863,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