From: NeilBrown Date: Mon, 6 Apr 2009 06:09:52 +0000 (+1000) Subject: config: treat "container=" and "member=" and providing the required identity information. X-Git-Tag: mdadm-3.0-rc1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1b12d58194e42208e4828ea5818279c00a0ed18;p=thirdparty%2Fmdadm.git config: treat "container=" and "member=" and providing the required identity information. Signed-off-by: NeilBrown --- diff --git a/config.c b/config.c index 7e09b5ca..24fbfcf9 100644 --- a/config.c +++ b/config.c @@ -563,7 +563,9 @@ void arrayline(char *line) w); } } - if (mis.uuid_set == 0 && mis.devices == NULL && mis.super_minor == UnSet && mis.name[0] == 0) + if (mis.uuid_set == 0 && mis.devices == NULL && + mis.super_minor == UnSet && mis.name[0] == 0 && + (mis.container == NULL && mis.member == NULL)) fprintf(stderr, Name ": ARRAY line %s has no identity information.\n", mis.devname); else { mi = malloc(sizeof(*mi));