summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorDavid Sterba2011-06-28 17:10:37 +0200
committerChris Mason2011-07-07 00:46:43 +0200
commit0942caa373c676dca614ea8352ac77e0270aba73 (patch)
tree0a6a1bdceeb030566fcba6a6bfa322eb79f2d8d9 /fs/btrfs/super.c
parentbtrfs: fix inconsonant inode information (diff)
downloadkernel-qcow2-linux-0942caa373c676dca614ea8352ac77e0270aba73.tar.gz
kernel-qcow2-linux-0942caa373c676dca614ea8352ac77e0270aba73.tar.xz
kernel-qcow2-linux-0942caa373c676dca614ea8352ac77e0270aba73.zip
btrfs: add missing options displayed in mount output
There are three missed mount options settable by user which are not currently displayed in mount output. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 3559d0b3518a..5746081199ee 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -721,6 +721,12 @@ static int btrfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
seq_puts(seq, ",clear_cache");
if (btrfs_test_opt(root, USER_SUBVOL_RM_ALLOWED))
seq_puts(seq, ",user_subvol_rm_allowed");
+ if (btrfs_test_opt(root, ENOSPC_DEBUG))
+ seq_puts(seq, ",enospc_debug");
+ if (btrfs_test_opt(root, AUTO_DEFRAG))
+ seq_puts(seq, ",autodefrag");
+ if (btrfs_test_opt(root, INODE_MAP_CACHE))
+ seq_puts(seq, ",inode_cache");
return 0;
}