diff options
author | Doug Ledford <dledford@redhat.com> | 2010-05-26 00:24:30 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2010-05-26 00:24:30 -0400 |
commit | ebe9b25e2a0b17088e9caddf44d7421be5678d67 (patch) | |
tree | 760f6b8d57e962575f2fcc9c3ed17579d2d7b310 /ANNOUNCE-2.5.5 | |
parent | 0688fd7f66c51510cc32a09bc8b66f9fbed8cf34 (diff) | |
download | mdadm-auto-spare.tar.gz mdadm-auto-spare.tar.xz mdadm-auto-spare.zip |
[imsm] make container array_disk count work with array creationauto-spare
The previous method of setting the array_disk variable for a container
would segfault if there were no valid subarrays in the container yet,
which is always true when first using mdadm to create a container.
This made it impossible to create containers using mdadm. So now we
verify that at least one subarray exists before we get the disk
count out of the subarray info. If no subarray exists, then we don't
care about the disk count anyway as there is nothing to be started.
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'ANNOUNCE-2.5.5')
0 files changed, 0 insertions, 0 deletions