From: Krzysztof Wojcik Date: Wed, 20 Apr 2011 05:39:53 +0000 (+1000) Subject: md: Cleanup after raid45->raid0 takeover X-Git-Tag: v2.6.39-rc5~37^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fee68723cf6ae00082f70f3eff17fceab2a4f7d7;p=pandora-kernel.git 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 Signed-off-by: NeilBrown --- Reading git-diff-tree failed