main: factor out code to parse layout for raid10 and faulty.
authorNeilBrown <neilb@suse.de>
Tue, 14 Jul 2009 01:29:20 +0000 (11:29 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 14 Jul 2009 01:29:20 +0000 (11:29 +1000)
commit4a06e2c270948bdcfaa447c8a0e80abb0978b5c4
tree51840f16e0bc5a6a9884788e858e87f84df887c3
parent84e11361aa37c92c3c016095e5db7f4fc434ac18
main: factor out code to parse layout for raid10 and faulty.

This will soon be called from multiple places.

Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.c
mdadm.h
util.c