mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 14:31:46 +00:00
f2fs: make has_fsynced_inode static
has_fsynced_inode() has no other caller out of node.c, make it static. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
587c0a4255
commit
2aa7c51a45
2 changed files with 1 additions and 2 deletions
|
@ -1507,7 +1507,6 @@ struct node_info;
|
||||||
|
|
||||||
bool available_free_memory(struct f2fs_sb_info *, int);
|
bool available_free_memory(struct f2fs_sb_info *, int);
|
||||||
bool is_checkpointed_node(struct f2fs_sb_info *, nid_t);
|
bool is_checkpointed_node(struct f2fs_sb_info *, nid_t);
|
||||||
bool has_fsynced_inode(struct f2fs_sb_info *, nid_t);
|
|
||||||
bool need_inode_block_update(struct f2fs_sb_info *, nid_t);
|
bool need_inode_block_update(struct f2fs_sb_info *, nid_t);
|
||||||
void get_node_info(struct f2fs_sb_info *, nid_t, struct node_info *);
|
void get_node_info(struct f2fs_sb_info *, nid_t, struct node_info *);
|
||||||
int get_dnode_of_data(struct dnode_of_data *, pgoff_t, int);
|
int get_dnode_of_data(struct dnode_of_data *, pgoff_t, int);
|
||||||
|
|
|
@ -209,7 +209,7 @@ bool is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid)
|
||||||
return is_cp;
|
return is_cp;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool has_fsynced_inode(struct f2fs_sb_info *sbi, nid_t ino)
|
static bool has_fsynced_inode(struct f2fs_sb_info *sbi, nid_t ino)
|
||||||
{
|
{
|
||||||
struct f2fs_nm_info *nm_i = NM_I(sbi);
|
struct f2fs_nm_info *nm_i = NM_I(sbi);
|
||||||
struct nat_entry *e;
|
struct nat_entry *e;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue