diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 912e2619d581..1dc02101e5e5 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1313,6 +1313,8 @@ static int f2fs_show_options(struct seq_file *seq, struct dentry *root) seq_puts(seq, ",disable_roll_forward"); if (test_opt(sbi, DISCARD)) seq_puts(seq, ",discard"); + else + seq_puts(seq, ",nodiscard"); if (test_opt(sbi, NOHEAP)) seq_puts(seq, ",no_heap"); else