]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.h
Allow parse_size to return 0.
[thirdparty/mdadm.git] / mdadm.h
diff --git a/mdadm.h b/mdadm.h
index 6980bfb8195e9e014ccb62464f86c227bd1a9360..6db7714a291774552ba82763a3d76719f8b89365 100644 (file)
--- a/mdadm.h
+++ b/mdadm.h
@@ -1460,4 +1460,10 @@ char *xstrdup(const char *str);
  * In those cases with use MAX_SIZE
  */
 #define MAX_SIZE       1
+
+/* We want to use unsigned numbers for sector counts, but need
+ * a value for 'invalid'.  Use '1'.
+ */
+#define INVALID_SECTORS 1
+
 extern int __offroot;