mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
f2fs: fix f2fs_show_options to show nodiscard mount option
Fix f2fs_show_options to show nodiscard mount option. Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
9227d5227b
commit
81621f9761
1 changed files with 2 additions and 0 deletions
|
@ -1313,6 +1313,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
|
||||||
|
|
Loading…
Reference in a new issue