NeilBrown: config: treat "container=" and "member=" and providing the required identity information.
Martin F. Krafft
madduck at alioth.debian.org
Thu May 7 12:11:34 UTC 2009
Module: mdadm
Branch: debian/experimental
Commit: b1b12d58194e42208e4828ea5818279c00a0ed18
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=b1b12d58194e42208e4828ea5818279c00a0ed18
Author: NeilBrown <neilb at suse.de>
Date: Mon Apr 6 16:09:52 2009 +1000
config: treat "container=" and "member=" and providing the required identity information.
Signed-off-by: NeilBrown <neilb at suse.de>
---
config.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/config.c b/config.c
index 7e09b5c..24fbfcf 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));
More information about the pkg-mdadm-commits
mailing list