From: NeilBrown Date: Sat, 5 Aug 2006 19:14:07 +0000 (-0700) Subject: [PATCH] md: Fix a bug that recently crept into md/linear X-Git-Tag: v2.6.18-rc4~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9abd1ace43d6186268856dbec2ebf411218d6ca;p=pandora-kernel.git [PATCH] md: Fix a bug that recently crept into md/linear A recent patch that allowed linear arrays to be reconfigured on-line allowed in a bug which results in divide by zero - not all mddev->array_size were converted to conf->array_size. This patch finished the conversion and fixed the bug. The offending patch was commit 7c7546ccf6463edbeee8d9aac6de7be1cd80d08a. Thanks to Simon Kirby for the bug report. Cc: Simon Kirby Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed