diff options
-rw-r--r-- | super0.c | 3 | ||||
-rw-r--r-- | super1.c | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -922,7 +922,8 @@ static struct supertype *match_metadata_desc0(char *arg) while (arg[0] == '0' && arg[1] == '0') arg++; if (strcmp(arg, "0") == 0 || - strcmp(arg, "0.90") == 0 + strcmp(arg, "0.90") == 0 || + strcmp(arg, "") == 0 /* no metadata - i.e. non_persistent */ ) return st; @@ -1375,8 +1375,7 @@ 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; |