summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik <jwhiter@redhat.com>2007-06-28 16:20:29 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-28 16:20:29 -0400
commit4623a01bdc07756ab9b3102786f56c104bff744b (patch)
tree16b3bf41dbd1d1503ae18d8b7a09027f40bc1dce /ctree.h
parent2b3741c47c8757e01e472a85c43283ed75d65b32 (diff)
calculate checksums during IO
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctree.h b/ctree.h
index 9a3a7896..fc84de32 100644
--- a/ctree.h
+++ b/ctree.h
@@ -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