]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
Add subarray arg to container_content.
authorNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 08:35:26 +0000 (19:35 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 08:35:26 +0000 (19:35 +1100)
commit00bbdbdac69e6d90fc71b8a2bfe574928ec66da3
treeae9c3a9478cee36dcef0ab1c85fc75bd2a5f2062
parentca145a1e4c9ec2c95f95f6283a3ce290f3d4da0d
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>
Assemble.c
Incremental.c
mdadm.h
super-ddf.c
super-intel.c
super0.c
super1.c