diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-04-18 18:06:49 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-05-07 11:38:32 -0700 |
commit | 2aa7c51a453fbd5b0a58156623ea950bcb9db526 (patch) | |
tree | 9af0ff4b0b40cdd005e053cf6e5c48c5583fd7e6 /fs/f2fs | |
parent | 587c0a42552a69a58e7ccd363d30fd48d809fdcb (diff) | |
download | linux-2aa7c51a453fbd5b0a58156623ea950bcb9db526.tar.bz2 |
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>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 | ||||
-rw-r--r-- | fs/f2fs/node.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index da5bc7dd25ba..8be6cab3cbe4 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1507,7 +1507,6 @@ struct node_info; bool available_free_memory(struct f2fs_sb_info *, int); 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); 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); diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 8ab0cf1930bd..1676c7a454b2 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -209,7 +209,7 @@ bool is_checkpointed_node(struct f2fs_sb_info *sbi, nid_t nid) 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 nat_entry *e; |