From: Jonathan Brassow Date: Thu, 11 Oct 2012 02:40:09 +0000 (+1100) Subject: DM RAID: Move 'rebuild' checking code to its own function X-Git-Tag: v3.7-rc1~10^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb6491236f283eb6ebc5421fcdb14b86701a7e36;p=pandora-kernel.git DM RAID: Move 'rebuild' checking code to its own function DM RAID: Move chunk of code to it's own function The code that checks whether device replacements/rebuilds are possible given a specific RAID type is moved to it's own function. It will further expand when the code to check RAID10 is added. A separate function makes it easier to read. Signed-off-by: Jonathan Brassow Signed-off-by: NeilBrown --- Reading git-diff-tree failed