diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index e06534438592..53b984623983 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -398,13 +398,15 @@ struct btrfs_super_block { | |||
398 | #define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0) | 398 | #define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0) |
399 | #define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (1ULL << 1) | 399 | #define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (1ULL << 1) |
400 | #define BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS (1ULL << 2) | 400 | #define BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS (1ULL << 2) |
401 | #define BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO (1ULL << 3) | ||
401 | 402 | ||
402 | #define BTRFS_FEATURE_COMPAT_SUPP 0ULL | 403 | #define BTRFS_FEATURE_COMPAT_SUPP 0ULL |
403 | #define BTRFS_FEATURE_COMPAT_RO_SUPP 0ULL | 404 | #define BTRFS_FEATURE_COMPAT_RO_SUPP 0ULL |
404 | #define BTRFS_FEATURE_INCOMPAT_SUPP \ | 405 | #define BTRFS_FEATURE_INCOMPAT_SUPP \ |
405 | (BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF | \ | 406 | (BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF | \ |
406 | BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL | \ | 407 | BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL | \ |
407 | BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) | 408 | BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS | \ |
409 | BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO) | ||
408 | 410 | ||
409 | /* | 411 | /* |
410 | * A leaf is full of items. offset and size tell us where to find | 412 | * A leaf is full of items. offset and size tell us where to find |
@@ -553,8 +555,9 @@ struct btrfs_timespec { | |||
553 | enum btrfs_compression_type { | 555 | enum btrfs_compression_type { |
554 | BTRFS_COMPRESS_NONE = 0, | 556 | BTRFS_COMPRESS_NONE = 0, |
555 | BTRFS_COMPRESS_ZLIB = 1, | 557 | BTRFS_COMPRESS_ZLIB = 1, |
556 | BTRFS_COMPRESS_TYPES = 1, | 558 | BTRFS_COMPRESS_LZO = 2, |
557 | BTRFS_COMPRESS_LAST = 2, | 559 | BTRFS_COMPRESS_TYPES = 2, |
560 | BTRFS_COMPRESS_LAST = 3, | ||
558 | }; | 561 | }; |
559 | 562 | ||
560 | struct btrfs_inode_item { | 563 | struct btrfs_inode_item { |