mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
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:
parent
c0a4bb8ae6
commit
6965a65caf
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user