]> git.ipfire.org Git - thirdparty/mdadm.git/commit
DDF: container_content_ddf: change array disk search loop
authormwilck@arcor.de <mwilck@arcor.de>
Fri, 1 Mar 2013 22:28:27 +0000 (23:28 +0100)
committerNeilBrown <neilb@suse.de>
Mon, 4 Mar 2013 05:07:09 +0000 (16:07 +1100)
commit8a38db8674939b6885d6e02e411ec3d3250bda90
tree57080aa053b2469f904f01cf4aa0f25b13397ee1
parent3dc821b091a757e12e8433d4153ee8a0aa0d1055
DDF: container_content_ddf: change array disk search loop

When searching for container elements, loop over the known phys
disks rather than the elements of the current configuration.

This patch changes nothing in the logic or return value of the code.
It just prepares extended logic for handling RAID10.

Signed-off-by: Martin Wilck <mwilck@arcor.de>
Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c