config: treat "container=" and "member=" and providing the required identity information.
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
3590496027
commit
b1b12d5819
4
config.c
4
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));
|
||||
|
|
Loading…
Reference in New Issue