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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 */

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux