diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 92a6078de827..d8caeba5d758 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -30,6 +30,8 @@ extern struct kmem_cache *btrfs_path_cachep; | |||
30 | 30 | ||
31 | /* 32 bytes in various csum fields */ | 31 | /* 32 bytes in various csum fields */ |
32 | #define BTRFS_CSUM_SIZE 32 | 32 | #define BTRFS_CSUM_SIZE 32 |
33 | /* four bytes for CRC32 */ | ||
34 | #define BTRFS_CRC32_SIZE 4 | ||
33 | 35 | ||
34 | /* | 36 | /* |
35 | * the key defines the order in the tree, and so it also defines (optimal) | 37 | * the key defines the order in the tree, and so it also defines (optimal) |
@@ -235,7 +237,7 @@ struct btrfs_file_extent_item { | |||
235 | } __attribute__ ((__packed__)); | 237 | } __attribute__ ((__packed__)); |
236 | 238 | ||
237 | struct btrfs_csum_item { | 239 | struct btrfs_csum_item { |
238 | u8 csum[BTRFS_CSUM_SIZE]; | 240 | u8 csum; |
239 | } __attribute__ ((__packed__)); | 241 | } __attribute__ ((__packed__)); |
240 | 242 | ||
241 | struct btrfs_device_item { | 243 | struct btrfs_device_item { |