From: NeilBrown Date: Fri, 6 Jan 2006 08:20:55 +0000 (-0800) Subject: [PATCH] md: keep better track of dev/array size when assembling md arrays X-Git-Tag: v2.6.16-rc1~936^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bf071bf50580380a8c3afe5eef8152a66be96c7;p=pandora-kernel.git [PATCH] md: keep better track of dev/array size when assembling md arrays Move the checks - that dev size is never less than array size - into bind_rdev_to_array to make sure it always happens properly (there is one place where currently it doesn't). Also reject any superblock which claims an array size smaller than the device in question can hold. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed