summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
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/ctree.h
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/ctree.h')
-rw-r--r--fs/btrfs/ctree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 8e948ec1ee6b..60e13ef23a5e 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1336,6 +1336,11 @@ struct btrfs_ioctl_defrag_range_args {
*/
#define BTRFS_STRING_ITEM_KEY 253
+/*
+ * Flags for mount options.
+ *
+ * Note: don't forget to add new options to btrfs_show_options()
+ */
#define BTRFS_MOUNT_NODATASUM (1 << 0)
#define BTRFS_MOUNT_NODATACOW (1 << 1)
#define BTRFS_MOUNT_NOBARRIER (1 << 2)