summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-05-14 13:52:21 -0400
committerChris Mason <chris.mason@oracle.com>2009-05-14 14:00:34 -0400
commit6b65c5c61bf86086817a5ed786c8f45755ac83b3 (patch)
treea5991f92b4ea22aba4f2042c893446462b47d2df /fs
parent5d847a8ed970d17e2734ff9e07a74fe36cceb24e (diff)
downloadlinux-stable-6b65c5c61bf86086817a5ed786c8f45755ac83b3.tar.gz
linux-stable-6b65c5c61bf86086817a5ed786c8f45755ac83b3.tar.bz2
linux-stable-6b65c5c61bf86086817a5ed786c8f45755ac83b3.zip
Btrfs: make show_options result match actual option names
The notreelog and flushoncommit mount options were being printed slightly differently. Signed-off-by: Sage Weil <sage@newdream.net> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index bf0e84c75607..e99510bfbffd 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -436,9 +436,9 @@ static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
if (btrfs_test_opt(root, SSD))
seq_puts(seq, ",ssd");
if (btrfs_test_opt(root, NOTREELOG))
- seq_puts(seq, ",no-treelog");
+ seq_puts(seq, ",notreelog");
if (btrfs_test_opt(root, FLUSHONCOMMIT))
- seq_puts(seq, ",flush-on-commit");
+ seq_puts(seq, ",flushoncommit");
if (!(root->fs_info->sb->s_flags & MS_POSIXACL))
seq_puts(seq, ",noacl");
return 0;