From 37e430d163f71417f50371cb2871e4828490ed7a Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 22 Nov 2010 19:35:25 +1100 Subject: [PATCH] ddf: remove duplicate container_member setting. We were setting ->container_member twice in ddf get_info. Once to currentconf->vcnum, once to atoi(st->subarray). Both should be the same. For consistency with super-intel, use the first. Signed-off-by: NeilBrown --- super-ddf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/super-ddf.c b/super-ddf.c index d06c8058..35515c4b 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -1457,7 +1457,6 @@ static void getinfo_super_ddf_bvd(struct supertype *st, struct mdinfo *info) uuid_from_super_ddf(st, info->uuid); - info->container_member = atoi(st->subarray); info->array.major_version = -1; info->array.minor_version = -2; sprintf(info->text_version, "/%s/%s", -- 2.47.2