diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 7eda51542d17..0c0edacbc14c 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -440,8 +440,9 @@ struct btrfs_root { | |||
440 | */ | 440 | */ |
441 | #define BTRFS_STRING_ITEM_KEY 253 | 441 | #define BTRFS_STRING_ITEM_KEY 253 |
442 | 442 | ||
443 | #define BTRFS_MOUNT_NODATASUM 0x1 | 443 | #define BTRFS_MOUNT_NODATASUM (1 << 0) |
444 | #define BTRFS_MOUNT_NODATACOW 0x2 | 444 | #define BTRFS_MOUNT_NODATACOW (1 << 1) |
445 | #define BTRFS_MOUNT_NOBARRIER (1 << 2) | ||
445 | 446 | ||
446 | #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) | 447 | #define btrfs_clear_opt(o, opt) ((o) &= ~BTRFS_MOUNT_##opt) |
447 | #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) | 448 | #define btrfs_set_opt(o, opt) ((o) |= BTRFS_MOUNT_##opt) |