From: Simon Kagstrom Date: Tue, 3 Nov 2009 06:08:41 +0000 (+0200) Subject: mtd: mtdoops: limit the maximum mtd partition size X-Git-Tag: v2.6.33-rc1~66^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1114e3d00f539ecb7a8415663f2a47a80e00a537;p=pandora-kernel.git mtd: mtdoops: limit the maximum mtd partition size Make the maximum mtdoops partition size to be 8MiB. Indeed, it does not make sense to use anything larger than that anyway. This limit makes it possible to catch stupid mistakes where the user gives e.g., a rootfs partition to mtdoops (which will happily erase it). Signed-off-by: Simon Kagstrom Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed