mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
f2fs: Remove f2fs_get_xnode_page()
All callers have now been converted to call f2fs_get_xnode_folio(). 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
c972c546fa
commit
0999f98e6c
|
|
@ -3747,7 +3747,6 @@ struct folio *f2fs_get_node_folio(struct f2fs_sb_info *sbi, pgoff_t nid);
|
|||
struct folio *f2fs_get_inode_folio(struct f2fs_sb_info *sbi, pgoff_t ino);
|
||||
struct page *f2fs_get_inode_page(struct f2fs_sb_info *sbi, pgoff_t ino);
|
||||
struct folio *f2fs_get_xnode_folio(struct f2fs_sb_info *sbi, pgoff_t xnid);
|
||||
struct page *f2fs_get_xnode_page(struct f2fs_sb_info *sbi, pgoff_t xnid);
|
||||
int f2fs_move_node_folio(struct folio *node_folio, int gc_type);
|
||||
void f2fs_flush_inline_data(struct f2fs_sb_info *sbi);
|
||||
int f2fs_fsync_node_pages(struct f2fs_sb_info *sbi, struct inode *inode,
|
||||
|
|
|
|||
|
|
@ -1557,14 +1557,6 @@ struct folio *f2fs_get_xnode_folio(struct f2fs_sb_info *sbi, pgoff_t xnid)
|
|||
return __get_node_folio(sbi, xnid, NULL, 0, NODE_TYPE_XATTR);
|
||||
}
|
||||
|
||||
struct page *f2fs_get_xnode_page(struct f2fs_sb_info *sbi, pgoff_t xnid)
|
||||
{
|
||||
struct folio *folio = __get_node_folio(sbi, xnid, NULL, 0,
|
||||
NODE_TYPE_XATTR);
|
||||
|
||||
return &folio->page;
|
||||
}
|
||||
|
||||
static struct folio *f2fs_get_node_folio_ra(struct folio *parent, int start)
|
||||
{
|
||||
struct f2fs_sb_info *sbi = F2FS_F_SB(parent);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user