Skip to contentSkip to conversation

btrfs-progs trivial: Double definition of BTRFS_CSUM_TYPE_CRC32 in ctree.h

PATCH New Dirk Gouders 1 participant 2 messages Oct 5, 2009 – Oct 6, 2009 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hello,

I noticed a double definition of BTRFS_CSUM_TYPE_CRC32 in ctree.h and attach a patch that removes it.

Best regards,

Dirk

ctree.h +0 -4
index a9062ea..fec0d9e 100644
@@ -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 */
#1 lore raw

PATCH 1/1 btrfs-progs: Double definition of BTRFS_CSUM_TYPE_CRC32

Clean up multiple definition of BTRFS_CSUM_TYPE_CRC32 in ctree.h.

---
 ctree.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
ctree.h +0 -4
index a9062ea..fec0d9e 100644
@@ -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 */
Signature · 1 line
1.6.5.rc1