From: Sahitya Tummala Date: Fri, 24 May 2019 09:08:39 +0000 (+0530) Subject: f2fs: fix f2fs_show_options to show nodiscard mount option X-Git-Tag: v5.4-rc1~582^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81621f976176704bd6f443159691e60e1eea2544;p=platform%2Fkernel%2Flinux-rpi.git f2fs: fix f2fs_show_options to show nodiscard mount option Fix f2fs_show_options to show nodiscard mount option. Signed-off-by: Sahitya Tummala Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 912e261..1dc0210 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