]> git.ipfire.org Git - thirdparty/mdadm.git/commit
raid0->raid10 takeover- allocate memory for added disks
authorKrzysztof Wojcik <krzysztof.wojcik@intel.com>
Tue, 25 Jan 2011 06:44:10 +0000 (17:44 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 26 Jan 2011 00:38:10 +0000 (10:38 +1000)
commitabedf5fc46da5ac25454cad6aab86e1654726720
treeaaacb1d50c5c2cb7c590d61a67c16606bc23fcdb
parent0529c688e8fc5c51a6e402f4d13788121c90f7a9
raid0->raid10 takeover- allocate memory for added disks

Allocate memory will be used in process_update.
For raid0->raid10 takeover operation number of disks doubles
so we should allocate memory for additional disks
and one imsm_dev structure with extended order table.

Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c