From: Matthew Wilcox (Oracle) Date: Mon, 31 Mar 2025 20:11:14 +0000 (+0100) Subject: f2fs: Remove f2fs_get_lock_data_page() X-Git-Tag: v6.16-rc1~115^2~129 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6965a65caf83d0a2716e9144f898f52c3ae9c75f;p=thirdparty%2Fkernel%2Flinux.git f2fs: Remove f2fs_get_lock_data_page() All callers have now been converted to f2fs_get_lock_data_folio(), so remove this wrapper. 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 e6a8e8fb42f14..17c16f39ea284 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -4004,14 +4004,6 @@ struct page *f2fs_get_new_data_page(struct inode *inode, return &f2fs_get_new_data_folio(inode, ipage, index, new_i_size)->page; } -static inline struct page *f2fs_get_lock_data_page(struct inode *inode, - pgoff_t index, bool for_write) -{ - struct folio *folio = f2fs_get_lock_data_folio(inode, index, for_write); - - return &folio->page; -} - /* * gc.c */