commit | fee68723cf6ae00082f70f3eff17fceab2a4f7d7 | [log] [tgz] |
---|---|---|
author | Krzysztof Wojcik <krzysztof.wojcik@intel.com> | Wed Apr 20 15:39:53 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Wed Apr 20 15:39:53 2011 +1000 |
tree | 2ff52c9cce0115bc745b60bd9c0faffed8dd46f0 | |
parent | 3b71bd9337b404baab5c894e066be6b6bf51b1c3 [diff] |
md: Cleanup after raid45->raid0 takeover Problem: After raid4->raid0 takeover operation, another takeover operation (e.g raid0->raid10) results "kernel oops". Root cause: Variables 'degraded' in mddev structure is not cleared on raid45->raid0 takeover. This patch reset this variable. Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>