diff mbox series

[f2fs-dev] f2fs: fix f2fs_show_options to show nogc_merge mount option

Message ID 20230202094123.74342-1-frank.li@vivo.com (mailing list archive)
State Accepted
Commit 04d7a7ae43fc4eed800efadbb4a18059172afb19
Headers show
Series [f2fs-dev] f2fs: fix f2fs_show_options to show nogc_merge mount option | expand

Commit Message

李扬韬 Feb. 2, 2023, 9:41 a.m. UTC
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>
---
 fs/f2fs/super.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

patchwork-bot+f2fs@kernel.org Feb. 6, 2023, 3:50 a.m. UTC | #1
Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

On Thu,  2 Feb 2023 17:41:23 +0800 you wrote:
> 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>
> ---
>  fs/f2fs/super.c | 2 ++
>  1 file changed, 2 insertions(+)

Here is the summary with links:
  - [f2fs-dev] f2fs: fix f2fs_show_options to show nogc_merge mount option
    https://git.kernel.org/jaegeuk/f2fs/c/04d7a7ae43fc

You are awesome, thank you!
diff mbox series

Patch

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");