commit | 4d3a8534bdbcf4843fc8ad05c9a81a964fc65237 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Fri Jan 29 20:59:53 2010 +0000 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Thu Feb 25 12:40:19 2010 +0000 |
tree | b019c9174a67fb23159fd4211baf099bf7a2e2a6 | |
parent | b520e412faaaad35641aeedd6059179f9f1b393c [diff] |
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 <bhutchings@solarflare.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>