]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
Make sure odisks is consistent between creating and using the fdlist
authorNeilBrown <neilb@suse.de>
Mon, 31 Jan 2011 06:09:20 +0000 (17:09 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 31 Jan 2011 06:09:20 +0000 (17:09 +1100)
commitb8b286a639dd4ab19ace6f6c5dd092fbc3890276
treecb6bf52e91a1b0bcb9a922db2981f6e339715ab3
parent7f913e9b21cba3e522283b7f23d09fcddc37c218
Make sure odisks is consistent between creating and using the fdlist

reshape_prepare_fdlist and child_monitor currently have slightly
different ideas of the 'old number of raid devices' which can cause
major confusion.

So settle on one value, and assign it to odisks early and always use
it.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c