summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-10-18 00:36:31 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2016-11-23 21:11:06 +0100
commit3e7b5bbbef7f5eb8a19aa61b611c704bf8230937 (patch)
tree7668de324efcdaf0d385e312bfb95ca1695b3780 /fs/f2fs/node.c
parentf2fs: call f2fs_balance_fs for setattr (diff)
downloadlinux-3e7b5bbbef7f5eb8a19aa61b611c704bf8230937.tar.xz
linux-3e7b5bbbef7f5eb8a19aa61b611c704bf8230937.zip
f2fs: declare static function for __build_free_nids
This patch avoids build warning. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-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 b6894ef3d907..74125b13d1af 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1805,7 +1805,7 @@ static void scan_nat_page(struct f2fs_sb_info *sbi,
}
}
-void __build_free_nids(struct f2fs_sb_info *sbi, bool sync)
+static void __build_free_nids(struct f2fs_sb_info *sbi, bool sync)
{
struct f2fs_nm_info *nm_i = NM_I(sbi);
struct curseg_info *curseg = CURSEG_I(sbi, CURSEG_HOT_DATA);