diff options
| -rw-r--r-- | fs/btrfs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 193d920e54eb..3f9b45704fcd 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c | |||
| @@ -457,6 +457,8 @@ static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs) | |||
| 457 | seq_puts(seq, ",notreelog"); | 457 | seq_puts(seq, ",notreelog"); |
| 458 | if (btrfs_test_opt(root, FLUSHONCOMMIT)) | 458 | if (btrfs_test_opt(root, FLUSHONCOMMIT)) |
| 459 | seq_puts(seq, ",flushoncommit"); | 459 | seq_puts(seq, ",flushoncommit"); |
| 460 | if (btrfs_test_opt(root, DISCARD)) | ||
| 461 | seq_puts(seq, ",discard"); | ||
| 460 | if (!(root->fs_info->sb->s_flags & MS_POSIXACL)) | 462 | if (!(root->fs_info->sb->s_flags & MS_POSIXACL)) |
| 461 | seq_puts(seq, ",noacl"); | 463 | seq_puts(seq, ",noacl"); |
| 462 | return 0; | 464 | return 0; |
