From: Jes Sorensen Date: Sun, 1 Apr 2012 13:48:38 +0000 (+1000) Subject: md: Avoid OOPS when reshaping raid1 to raid0 X-Git-Tag: v3.4-rc2~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b961f811a3e790a9b93604d2594bfb6cce4fa4;p=pandora-kernel.git md: Avoid OOPS when reshaping raid1 to raid0 raid1 arrays do not have the notion of chunk size. Calculate the largest chunk sector size we can use to avoid a divide by zero OOPS when aligning the size of the new array to the chunk size. Signed-off-by: Jes Sorensen Signed-off-by: NeilBrown --- Reading git-diff-tree failed