]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - bitmap.h
Allow autoassembly to choose it's own name for the array.
[thirdparty/mdadm.git] / bitmap.h
index 02a4e97acabc507e7f75697e39116589435e67bd..055661d1da81f8f91f861c5c031b05090493a786 100644 (file)
--- a/bitmap.h
+++ b/bitmap.h
@@ -6,7 +6,13 @@
 #ifndef BITMAP_H
 #define BITMAP_H 1
 
-#define BITMAP_MAJOR 3
+#define BITMAP_MAJOR_LO 3
+/* version 4 insists the bitmap is in little-endian order
+ * with version 3, it is host-endian which is non-portable
+ */
+#define BITMAP_MAJOR_HI 4
+#define        BITMAP_MAJOR_HOSTENDIAN 3
+
 #define BITMAP_MINOR 39
 
 /*