Hello, I noticed a double definition of BTRFS_CSUM_TYPE_CRC32 in ctree.h and attach a patch that removes it. Best regards, Dirk
diff --git a/ctree.h b/ctree.h
index a9062ea..fec0d9e 100644
--- a/ctree.h
+++ b/ctree.h
@@ -108,10 +108,6 @@ struct btrfs_trans_handle;
/* csum types */
#define BTRFS_CSUM_TYPE_CRC32 0
-
-/* csum types */
-#define BTRFS_CSUM_TYPE_CRC32 0
-
static int btrfs_csum_sizes[] = { 4, 0 };
/* four bytes for CRC32 */
