diff options
author | Neil Brown <neilb@suse.de> | 2008-06-19 08:38:37 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-06-19 08:38:37 +0200 |
commit | 370ac380fda9fb0d813f210ed2b342cfbde07cf0 (patch) | |
tree | 79680600bef18504fc82362fe3134d2b316f44ab /super0.c | |
parent | A kernel patch needed to add a spare to an active external-metadata array (diff) | |
parent | Fix bug in forced assemble. (diff) | |
download | mdadm-370ac380fda9fb0d813f210ed2b342cfbde07cf0.tar.xz mdadm-370ac380fda9fb0d813f210ed2b342cfbde07cf0.zip |
Merge branch 'master' into devel-3.0
Conflicts:
Makefile
Diffstat (limited to 'super0.c')
-rw-r--r-- | super0.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -876,12 +876,15 @@ static struct supertype *match_metadata_desc0(char *arg) st->sb = NULL; if (strcmp(arg, "0") == 0 || strcmp(arg, "0.90") == 0 || - strcmp(arg, "0.91") == 0 || strcmp(arg, "default") == 0 || strcmp(arg, "") == 0 /* no metadata */ ) return st; + st->minor_version = 91; /* reshape in progress */ + if (strcmp(arg, "0.91") == 0) /* For dup_super support */ + return st; + st->minor_version = 9; /* flag for 'byte-swapped' */ if (strcmp(arg, "0.swap")==0 || strcmp(arg, "0.9") == 0) /* For dup_super support */ |