diff options
author | Yangtao Li <frank.li@vivo.com> | 2023-02-02 12:41:23 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-02-06 06:38:28 +0300 |
commit | 04d7a7ae43fc4eed800efadbb4a18059172afb19 (patch) | |
tree | 161f7a6582b0de5e7b78c9775185d5e2e7f9ac9f /fs/f2fs/super.c | |
parent | 844545c51a5b2a524b22a2fe9d0b353b827d24b4 (diff) | |
download | linux-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.c | 2 |
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"); |