]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: fix problem with reshaping RAID4 to RAID0.
authorNeilBrown <neilb@suse.de>
Thu, 21 Feb 2013 06:02:21 +0000 (17:02 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 21 Feb 2013 06:02:21 +0000 (17:02 +1100)
commitfdcad551e9a54c4aa8c4b63160b76e2c539a0441
tree1f0f1f0119d906c75128bc271e4d5f34aab2965e
parent3920235ea20bf32be8fc3c830ebca3f83eea671a
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>
Grow.c