From: NeilBrown Date: Tue, 5 Aug 2008 05:54:13 +0000 (+1000) Subject: Fail safely when trying to grow an array with a write-intent bitmap. X-Git-Tag: v2.6.27-rc4~66^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dba034eef2456d2a9f9a76806846c97acf6c3ad1;p=pandora-kernel.git Fail safely when trying to grow an array with a write-intent bitmap. We cannot currently change the size of a write-intent bitmap. So if we change the size of an array which has such a bitmap, it tries to set bits beyond the end of the bitmap. For now, simply reject any request to change the size of an array which has a bitmap. mdadm can remove the bitmap and add a new one after the array has changed size. Signed-off-by: NeilBrown --- Reading git-diff-tree failed