]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Assemble: fix --force assemble during reshape.
authorNeilBrown <neilb@suse.de>
Tue, 7 Feb 2012 03:06:44 +0000 (14:06 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 7 Feb 2012 03:06:44 +0000 (14:06 +1100)
commitda8fe5aa9bd9fbb2118c073f138d9e6c1d17dbfc
tree6591ce0867fc9fee67e43273811cf308ff6f71e0
parentde5a472ea32867d002558bac0d2d2b4faf45c7c4
Assemble: fix --force assemble during reshape.

If we have to --force assembly during reshape, we need to
check by the 'before' and 'after' cases to make sure there
are enough devices.

Reported-by: Richard Herd <2001oddity@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c