summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2021-02-20 17:38:42 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-03-12 13:16:42 -0800
commit4831675c6be59dbe8e0b2a53dc237111f9307a4b (patch)
tree5fc1d8f93138d5733f040ea240714e534ace481e /fs/f2fs
parentcd6ee739b8ee49cf5f3d7c9a0f663f9f0c5afe1b (diff)
downloadlinux-4831675c6be59dbe8e0b2a53dc237111f9307a4b.tar.bz2
f2fs: remove unused FORCE_FG_GC macro
FORCE_FG_GC was introduced by commit 6aefd93b0137 ("f2fs: introduce background_gc=sync mount option"), but never be used, remove it. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/segment.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h
index 229814b4f4a6..144980b62f9e 100644
--- a/fs/f2fs/segment.h
+++ b/fs/f2fs/segment.h
@@ -172,12 +172,10 @@ enum {
/*
* BG_GC means the background cleaning job.
* FG_GC means the on-demand cleaning job.
- * FORCE_FG_GC means on-demand cleaning job in background.
*/
enum {
BG_GC = 0,
FG_GC,
- FORCE_FG_GC,
};
/* for a function parameter to select a victim segment */