mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-17 20:10:49 +00:00
f2fs: Remove f2fs_new_node_page()
All callers now use f2fs_new_node_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
963da02bc1
commit
6b1ad39545
@ -3779,12 +3779,6 @@ void f2fs_destroy_node_manager(struct f2fs_sb_info *sbi);
|
||||
int __init f2fs_create_node_manager_caches(void);
|
||||
void f2fs_destroy_node_manager_caches(void);
|
||||
|
||||
static inline
|
||||
struct page *f2fs_new_node_page(struct dnode_of_data *dn, unsigned int ofs)
|
||||
{
|
||||
return &f2fs_new_node_folio(dn, ofs)->page;
|
||||
}
|
||||
|
||||
/*
|
||||
* segment.c
|
||||
*/
|
||||
|
||||
@ -1351,7 +1351,7 @@ struct folio *f2fs_new_node_folio(struct dnode_of_data *dn, unsigned int ofs)
|
||||
dec_valid_node_count(sbi, dn->inode, !ofs);
|
||||
set_sbi_flag(sbi, SBI_NEED_FSCK);
|
||||
f2fs_warn_ratelimited(sbi,
|
||||
"f2fs_new_node_page: inconsistent nat entry, "
|
||||
"f2fs_new_node_folio: inconsistent nat entry, "
|
||||
"ino:%u, nid:%u, blkaddr:%u, ver:%u, flag:%u",
|
||||
new_ni.ino, new_ni.nid, new_ni.blk_addr,
|
||||
new_ni.version, new_ni.flag);
|
||||
@ -2354,7 +2354,7 @@ static bool add_free_nid(struct f2fs_sb_info *sbi,
|
||||
* - f2fs_add_link
|
||||
* - f2fs_init_inode_metadata
|
||||
* - f2fs_new_inode_folio
|
||||
* - f2fs_new_node_page
|
||||
* - f2fs_new_node_folio
|
||||
* - set_node_addr
|
||||
* - f2fs_alloc_nid_done
|
||||
* - __remove_nid_from_list(PREALLOC_NID)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user