From: Yangtao Li Date: Thu, 2 Feb 2023 09:41:23 +0000 (+0800) Subject: f2fs: fix f2fs_show_options to show nogc_merge mount option X-Git-Tag: v6.3-rc1~56^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04d7a7ae43fc4eed800efadbb4a18059172afb19;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index fddff5deaed2f..4ec2cbbc47ebe 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");