summaryrefslogtreecommitdiff
path: root/Assemble.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 19:35:26 +1100
committerNeilBrown <neilb@suse.de>2010-11-22 19:35:26 +1100
commit00bbdbdac69e6d90fc71b8a2bfe574928ec66da3 (patch)
treeae9c3a9478cee36dcef0ab1c85fc75bd2a5f2062 /Assemble.c
parentca145a1e4c9ec2c95f95f6283a3ce290f3d4da0d (diff)
Add subarray arg to container_content.
This allows the info for a single array to be extracted, so we don't have to write it into st->subarray. For consistency, implement container_content for super0 and super1, to just return the mdinfo for the single array. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Assemble.c')
-rw-r--r--Assemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assemble.c b/Assemble.c
index f66a21b9..37b84133 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -331,7 +331,7 @@ int Assemble(struct supertype *st, char *mddev,
if (tmpdev->content)
content = tmpdev->content;
else
- content = tst->ss->container_content(tst);
+ content = tst->ss->container_content(tst, NULL);
if (!content)
goto loop; /* empty container */