summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2021-02-20 10:38:42 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2021-03-12 22:16:42 +0100
commit4831675c6be59dbe8e0b2a53dc237111f9307a4b (patch)
tree5fc1d8f93138d5733f040ea240714e534ace481e /fs/f2fs
parentf2fs: avoid unused f2fs_show_compress_options() (diff)
downloadlinux-4831675c6be59dbe8e0b2a53dc237111f9307a4b.tar.xz
linux-4831675c6be59dbe8e0b2a53dc237111f9307a4b.zip
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 */