]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
Add subarray field to supertype.
authorNeil Brown <neilb@suse.de>
Sat, 12 Jul 2008 10:27:38 +0000 (20:27 +1000)
committerNeil Brown <neilb@suse.de>
Sat, 12 Jul 2008 10:27:38 +0000 (20:27 +1000)
commitf7e7067b47d2ca9994f9222dfa5833ac84ce3b22
tree9519e435af3001dd2ccb2ee01d114067213aa615
parent6adfd3affda071d1083497d150a1150ade0e3fdb
Add subarray field to supertype.

When loading the metadata for a subarray (super_by_fd), we set
->subarray to be the name read from md/metadata_version so that
getinfo_super can return info about the correct array.

With this we can differentiate between a container and
an array within the container by looking at ->subarray[0].
Create.c
Manage.c
mdadm.h
super-ddf.c
super-intel.c
super0.c
super1.c
util.c