diff options
author | NeilBrown <neilb@suse.de> | 2012-03-22 15:34:17 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-03-22 15:34:17 +1100 |
commit | 0073a6e189c41ca92123ac11278faddf6355125a (patch) | |
tree | 1bc653ff701acfde4e808fe91d54be91f6cec31d /Manage.c | |
parent | e62b778573d4df5e729cf3941fe17eff1fe4e758 (diff) |
Remove possible crash during RAID6 -> RAID5 reshape.
If a RAID6 array is in a state which doesn't have a
RAID5 equivalent, the code currently dereferences a NULL.
If it does have an equivalent - use that.
If it doesn't but it already in the RAID5-compatible layout
with the Q block last, handle that case,
else require the new layout to be explicitly requested.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Manage.c')
0 files changed, 0 insertions, 0 deletions