teach imsm and ddf what st->subarray means at load_super time
authorDan Williams <dan.j.williams@intel.com>
Sat, 1 Aug 2009 00:08:22 +0000 (17:08 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 1 Aug 2009 00:08:22 +0000 (17:08 -0700)
commitaf99d9ca67a4dc898e7be1d4a947800deec93c83
treef5335e0be64ab1bf9004d641ae21a7acb60be80d
parentfa09d4961e5c72da3c7f78d53a7d64f5196110a3
teach imsm and ddf what st->subarray means at load_super time

RebuildMap wants to poll through mdstat and retrieve a (kernel name,
uuid, user name) tuple for each array.  Teach imsm and ddf to honor
st->sub_array at ->load_super() time to set their internal subarray
pointers to the value specified in st->subarray, or return an error if
st->subarray specifies an invalid array.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-ddf.c
super-intel.c