summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-05-14 19:52:21 +0200
committerChris Mason <chris.mason@oracle.com>2009-05-14 20:00:34 +0200
commit6b65c5c61bf86086817a5ed786c8f45755ac83b3 (patch)
treea5991f92b4ea22aba4f2042c893446462b47d2df /fs
parentBtrfs: remove outdated comment in btrfs_ioctl_resize() (diff)
downloadlinux-6b65c5c61bf86086817a5ed786c8f45755ac83b3.tar.xz
linux-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;