Let's be more realistic and limit maximum number of partition to 4k.

MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2012-02-10 06:44:30 +00:00
parent 20c390af63
commit f44d97bd0c

View File

@ -102,7 +102,7 @@ static struct g_part_scheme g_part_apm_scheme = {
sizeof(struct g_part_apm_table),
.gps_entrysz = sizeof(struct g_part_apm_entry),
.gps_minent = 16,
.gps_maxent = INT_MAX,
.gps_maxent = 4096,
};
G_PART_SCHEME_DECLARE(g_part_apm);