From 8d86ffefdf9c91d1d01e27c671735b7bd5301e66 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 e492b4e5..30e228d3 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -1470,7 +1470,6 @@ static void getinfo_super_ddf_bvd(struct supertype *st, struct mdinfo *info, cha 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