commit | f73ea87375a1b2bf6c0be82bb9a3cb9d5ee7a407 | [log] [tgz] |
---|---|---|
author | Maciej Trela <maciej.trela@intel.com> | Wed Jun 16 11:46:29 2010 +0100 |
committer | NeilBrown <neilb@suse.de> | Thu Jun 24 13:33:51 2010 +1000 |
tree | c6353ca45235a258cf7d72ecb1b29d6babfcd2fc | |
parent | e93f68a1fc6244c05ad8fae28e75835ec74ab34e [diff] |
md: fix raid10 takeover: use new_layout for setup_conf Use mddev->new_layout in setup_conf. Also use new_chunk, and don't set ->degraded in takeover(). That gets set in run() Signed-off-by: Maciej Trela <maciej.trela@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>