diff options
author | NeilBrown <neilb@suse.de> | 2013-02-21 07:02:21 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-02-21 07:02:21 +0100 |
commit | fdcad551e9a54c4aa8c4b63160b76e2c539a0441 (patch) | |
tree | 1f0f1f0119d906c75128bc271e4d5f34aab2965e /mapfile.c | |
parent | Grow: disallow --size changes on RAID0 and Linear. (diff) | |
download | mdadm-fdcad551e9a54c4aa8c4b63160b76e2c539a0441.tar.xz mdadm-fdcad551e9a54c4aa8c4b63160b76e2c539a0441.zip |
Grow: fix problem with reshaping RAID4 to RAID0.
As 'layout' doesn't map neatly from RAID4 to RAID5, we need to
set it correctly for RAID4.
Also, when no reshape is needed we should set re->level to the final
desired level.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mapfile.c')
0 files changed, 0 insertions, 0 deletions