open_subarray: pass subarray name as explicit arg.
authorNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 08:35:25 +0000 (19:35 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 08:35:25 +0000 (19:35 +1100)
commitfeab51f8f710f28a63a5b01ec59a5a609a45525b
treea12fafbfb76d636720f869a394051eb972609988
parent8d86ffefdf9c91d1d01e27c671735b7bd5301e66
open_subarray: pass subarray name as explicit arg.

Rather than hiding this arg in the 'st' structure, pass it explicitly.

This is a first step to getting rid of 'subarray' from 'supertype'.

The strcpy in open_subarray should have better error checking, but it
will disappear soon so there is little point.

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