config: treat "container=" and "member=" and providing the required identity information.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2009-04-06 16:09:52 +10:00
parent 3590496027
commit b1b12d5819
1 changed files with 3 additions and 1 deletions

View File

@ -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));