aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2010-01-29 20:59:53 +0000
committerDavid Woodhouse <[email protected]>2010-02-25 12:40:19 +0000
commit4d3a8534bdbcf4843fc8ad05c9a81a964fc65237 (patch)
treeb019c9174a67fb23159fd4211baf099bf7a2e2a6 /tools/perf/scripts/python
parentb520e412faaaad35641aeedd6059179f9f1b393c (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 <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions