summaryrefslogtreecommitdiff
path: root/super-ddf.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 19:35:25 +1100
committerNeilBrown <neilb@suse.de>2011-03-10 17:24:44 +1100
commit37e430d163f71417f50371cb2871e4828490ed7a (patch)
tree450b3fd82ec65283f9ab7196ba65e3899a9a6001 /super-ddf.c
parent01afe516ce14d5e983e4b8c910393ea9c7cbee0a (diff)
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 <neilb@suse.de>
Diffstat (limited to 'super-ddf.c')
-rw-r--r--super-ddf.c1
1 files changed, 0 insertions, 1 deletions
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",