From: NeilBrown Date: Tue, 17 Jul 2007 11:06:12 +0000 (-0700) Subject: md: check that internal bitmap does not overlap other data X-Git-Tag: v2.6.23-rc1~532 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0d76d70bc77b9b11256a3a23e98e80878be1578;p=pandora-kernel.git md: check that internal bitmap does not overlap other data We current completely trust user-space to set up metadata describing an consistant array. In particlar, that the metadata, data, and bitmap do not overlap. But userspace can be buggy, and it is better to report an error than corrupt data. So put in some appropriate checks. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed