From: Ben Hutchings Date: Fri, 29 Jan 2010 20:59:53 +0000 (+0000) Subject: mtd: Raise limit on block device minor numbers X-Git-Tag: v2.6.35-rc1~465^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d3a8534bdbcf4843fc8ad05c9a81a964fc65237;p=pandora-kernel.git mtd: Raise limit on block device minor numbers add_mtd_blktrans_dev() imposes a maximum of 257 devices per block translator. This was presumably meant to prevent overflow back in the days of 8-bit minor numbers. Instead, check against MINORMASK and the limits of the partition naming scheme. Signed-off-by: Ben Hutchings Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed