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) <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:14 +01:00 committed by Jaegeuk Kim
parent c0a4bb8ae6
commit 6965a65caf

View File

@ -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
*/