diff options
author | Neil Brown <neilb@suse.de> | 2005-06-07 23:03:46 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-06-07 23:03:46 +0000 |
commit | ea32955930cc63d2fa445ff00437f5f767f7a4af (patch) | |
tree | 2778cbed10cdee740eea76dde1ab2f18f2ee6a09 /super0.c | |
parent | 8d75b7fce26fd0c41e53e9d9000ebbf969fd5fee (diff) | |
download | mdadm-ea32955930cc63d2fa445ff00437f5f767f7a4af.tar.gz mdadm-ea32955930cc63d2fa445ff00437f5f767f7a4af.tar.xz mdadm-ea32955930cc63d2fa445ff00437f5f767f7a4af.zip |
Increase max-devs on type-1 superblocks
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'super0.c')
-rw-r--r-- | super0.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -589,6 +589,7 @@ static int load_super0(struct supertype *st, int fd, void **sbp, char *devname) if (st->ss == NULL) { st->ss = &super0; st->minor_version = 90; + st->max_devs = MD_SB_DISKS; } return 0; @@ -601,6 +602,7 @@ static struct supertype *match_metadata_desc0(char *arg) st->ss = &super0; st->minor_version = 90; + st->max_devs = MD_SB_DISKS; if (strcmp(arg, "0") == 0 || strcmp(arg, "0.90") == 0 || strcmp(arg, "default") == 0 |