Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ada14a86 authored by Sahitya Tummala's avatar Sahitya Tummala Committed by Jaegeuk Kim
Browse files

f2fs: fix f2fs_show_options to show nodiscard mount option



Fix f2fs_show_options to show nodiscard mount option.

Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 5b25019d
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1318,6 +1318,8 @@ static int f2fs_show_options(struct seq_file *seq, struct dentry *root)
		seq_puts(seq, ",disable_roll_forward");
		seq_puts(seq, ",disable_roll_forward");
	if (test_opt(sbi, DISCARD))
	if (test_opt(sbi, DISCARD))
		seq_puts(seq, ",discard");
		seq_puts(seq, ",discard");
	else
		seq_puts(seq, ",nodiscard");
	if (test_opt(sbi, NOHEAP))
	if (test_opt(sbi, NOHEAP))
		seq_puts(seq, ",no_heap");
		seq_puts(seq, ",no_heap");
	else
	else