Skip to contentSkip to conversation

f2fs: fix f2fs_show_options to show nogc_merge mount option

PATCH Applied Yangtao Li 2 participants 2 messages Feb 2, 2023 – Feb 6, 2023 F2FS file system

lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH 1/1 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.

---
 fs/f2fs/super.c | 2 ++
 1 file changed, 2 insertions(+)
fs/f2fs/super.c +2 -0
index fddff5deaed2..4ec2cbbc47eb 100644
@@ -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");
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:

Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:

Quoted 7 lines · 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.

---
 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!

Signature · 10 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html




_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel