summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-06-18 14:36:22 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-07-07 21:51:43 -0700
commit0ef818335f734bbb4bb26b0eaab2c27aa6e5d2c2 (patch)
treecc7810711c74a7135fda96df90d2bfd5d931e46f /fs/f2fs/gc.c
parentba87a45c23d645b25e1265b477e83cc1b73086e4 (diff)
downloadlinux-0ef818335f734bbb4bb26b0eaab2c27aa6e5d2c2.tar.bz2
f2fs: add prefix for exported symbols
to avoid polluting global symbol namespace. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
-rw-r--r--fs/f2fs/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 9b6fc61ce649..cb18a99a7f87 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -1441,7 +1441,7 @@ static int free_segment_range(struct f2fs_sb_info *sbi,
/* Move out cursegs from the target range */
for (type = CURSEG_HOT_DATA; type < NR_CURSEG_TYPE; type++)
- allocate_segment_for_resize(sbi, type, start, end);
+ f2fs_allocate_segment_for_resize(sbi, type, start, end);
/* do GC to move out valid blocks in the range */
for (segno = start; segno <= end; segno += sbi->segs_per_sec) {