diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index af52f6d7a4d8..e06534438592 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -551,9 +551,10 @@ struct btrfs_timespec { | |||
551 | } __attribute__ ((__packed__)); | 551 | } __attribute__ ((__packed__)); |
552 | 552 | ||
553 | enum btrfs_compression_type { | 553 | enum btrfs_compression_type { |
554 | BTRFS_COMPRESS_NONE = 0, | 554 | BTRFS_COMPRESS_NONE = 0, |
555 | BTRFS_COMPRESS_ZLIB = 1, | 555 | BTRFS_COMPRESS_ZLIB = 1, |
556 | BTRFS_COMPRESS_LAST = 2, | 556 | BTRFS_COMPRESS_TYPES = 1, |
557 | BTRFS_COMPRESS_LAST = 2, | ||
557 | }; | 558 | }; |
558 | 559 | ||
559 | struct btrfs_inode_item { | 560 | struct btrfs_inode_item { |
@@ -895,7 +896,8 @@ struct btrfs_fs_info { | |||
895 | */ | 896 | */ |
896 | u64 last_trans_log_full_commit; | 897 | u64 last_trans_log_full_commit; |
897 | u64 open_ioctl_trans; | 898 | u64 open_ioctl_trans; |
898 | unsigned long mount_opt; | 899 | unsigned long mount_opt:20; |
900 | unsigned long compress_type:4; | ||
899 | u64 max_inline; | 901 | u64 max_inline; |
900 | u64 alloc_start; | 902 | u64 alloc_start; |
901 | struct btrfs_transaction *running_transaction; | 903 | struct btrfs_transaction *running_transaction; |