summaryrefslogtreecommitdiffstats
path: root/super1.c
diff options
context:
space:
mode:
Diffstat (limited to 'super1.c')
-rw-r--r--super1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/super1.c b/super1.c
index f3be7ce..216690d 100644
--- a/super1.c
+++ b/super1.c
@@ -1375,14 +1375,15 @@ static struct supertype *match_metadata_desc1(char *arg)
return st;
}
if (strcmp(arg, "1.1") == 0 ||
- strcmp(arg, "1.01") == 0 ||
- strcmp(arg, "") == 0 /* no metadata */
+ strcmp(arg, "1.01") == 0
) {
st->minor_version = 1;
return st;
}
if (strcmp(arg, "1.2") == 0 ||
+#ifndef DEFAULT_OLD_METADATA /* ifdef in super0.c */
strcmp(arg, "default") == 0 ||
+#endif /* DEFAULT_OLD_METADATA */
strcmp(arg, "1.02") == 0) {
st->minor_version = 2;
return st;