summaryrefslogtreecommitdiff
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-02-02 12:41:23 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2023-02-06 06:38:28 +0300
commit04d7a7ae43fc4eed800efadbb4a18059172afb19 (patch)
tree161f7a6582b0de5e7b78c9775185d5e2e7f9ac9f /fs/f2fs/super.c
parent844545c51a5b2a524b22a2fe9d0b353b827d24b4 (diff)
downloadlinux-04d7a7ae43fc4eed800efadbb4a18059172afb19.tar.xz
f2fs: fix f2fs_show_options to show nogc_merge mount option
Commit 5911d2d1d1a3 ("f2fs: introduce gc_merge mount option") forgot to show nogc_merge option, let's fix it. Signed-off-by: Yangtao Li <frank.li@vivo.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index fddff5deaed2..4ec2cbbc47eb 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -1902,6 +1902,8 @@ static int f2fs_show_options(struct seq_file *seq, struct dentry *root)
if (test_opt(sbi, GC_MERGE))
seq_puts(seq, ",gc_merge");
+ else
+ seq_puts(seq, ",nogc_merge");
if (test_opt(sbi, DISABLE_ROLL_FORWARD))
seq_puts(seq, ",disable_roll_forward");