diff options
author | NeilBrown <neilb@suse.de> | 2009-04-06 16:09:52 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-04-06 16:09:52 +1000 |
commit | b1b12d58194e42208e4828ea5818279c00a0ed18 (patch) | |
tree | d0d141d87e70095f1f80ed517f645d779e7a54b9 /config.c | |
parent | 3590496027119a99b4c36d4e22813d12474041c7 (diff) | |
download | mdadm-b1b12d58194e42208e4828ea5818279c00a0ed18.tar.gz |
config: treat "container=" and "member=" and providing the required identity information.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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)); |