summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-04-18 12:06:49 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-07 20:38:32 +0200
commit2aa7c51a453fbd5b0a58156623ea950bcb9db526 (patch)
tree9af0ff4b0b40cdd005e053cf6e5c48c5583fd7e6 /fs/f2fs/node.c
parentf2fs: add offset check routine before punch_hole() in f2fs_fallocate() (diff)
downloadlinux-2aa7c51a453fbd5b0a58156623ea950bcb9db526.tar.xz
linux-2aa7c51a453fbd5b0a58156623ea950bcb9db526.zip
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/node.c')
-rw-r--r--fs/f2fs/node.c2
1 files changed, 1 insertions, 1 deletions
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;