Move calls to SET_ARRAY_INFO to common helper.
authorNeilBrown <neilb@suse.de>
Thu, 18 Sep 2008 06:01:55 +0000 (16:01 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 18 Sep 2008 06:01:55 +0000 (16:01 +1000)
commitf35f25259279573c6274e2783536c0b0a399bdd4
treefc464d06069d7cf50b642dce3bc01ec6d5f08677
parent7801ac209240ca5d5159d2ab990dd8d5573e2195
Move calls to SET_ARRAY_INFO to common helper.

When we assemble an array, there are three different approaches
depending on whether metadata is internal or external, and on
kernel version.

Move all this to a common helper instead of duplicating in 3 places.

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c
Create.c
Incremental.c
mdadm.h
super-ddf.c
super-intel.c
sysfs.c
util.c