diff options
author | Josef Bacik <jwhiter@redhat.com> | 2007-06-28 16:20:29 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-06-28 16:20:29 -0400 |
commit | 4623a01bdc07756ab9b3102786f56c104bff744b (patch) | |
tree | 16b3bf41dbd1d1503ae18d8b7a09027f40bc1dce /ctree.h | |
parent | 2b3741c47c8757e01e472a85c43283ed75d65b32 (diff) |
calculate checksums during IO
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -40,6 +40,8 @@ struct btrfs_trans_handle; /* 32 bytes in various csum fields */ #define BTRFS_CSUM_SIZE 32 +/* four bytes for CRC32 */ +#define BTRFS_CRC32_SIZE 4 #define BTRFS_FT_UNKNOWN 0 #define BTRFS_FT_REG_FILE 1 |