summaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2017-01-29 14:27:02 +0900
committerJaegeuk Kim <jaegeuk@kernel.org>2017-02-22 20:24:54 -0800
commit8ed5974552086363aec2ac96fe01e3f2970baeab (patch)
tree2105a8f4f15c9d970ab45f4764ef489aa5c2347b /fs/f2fs/segment.c
parent0cc0dec2b6f9bf0e69afbddc1c11e220a1cdf328 (diff)
f2fs: declare missing static function
We missed two functions declared as static functions. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 4e515bbbeddc..5c0b59fe9bef 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1039,7 +1039,7 @@ skip:
}
}
-int create_discard_cmd_control(struct f2fs_sb_info *sbi)
+static int create_discard_cmd_control(struct f2fs_sb_info *sbi)
{
dev_t dev = sbi->sb->s_bdev->bd_dev;
struct discard_cmd_control *dcc;
@@ -1076,7 +1076,7 @@ init_thread:
return err;
}
-void destroy_discard_cmd_control(struct f2fs_sb_info *sbi, bool free)
+static void destroy_discard_cmd_control(struct f2fs_sb_info *sbi, bool free)
{
struct discard_cmd_control *dcc = SM_I(sbi)->dcc_info;