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>
This commit is contained in:
committed by
Chris Mason
parent
2f7e33d432
commit
0942caa373
@@ -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)
|
||||
|
Reference in New Issue
Block a user