diff options
author | ae <ae@FreeBSD.org> | 2012-02-10 06:44:30 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2012-02-10 06:44:30 +0000 |
commit | 7a50922fdb47a3ceb8b1a11faf7b34c79f47a320 (patch) | |
tree | e02afeca14d627a7674b727a2f66f8d2121c7e7f /sys/geom | |
parent | 62e9090653c3baf7af0b6a4a54d3577001488c15 (diff) | |
download | FreeBSD-src-7a50922fdb47a3ceb8b1a11faf7b34c79f47a320.zip FreeBSD-src-7a50922fdb47a3ceb8b1a11faf7b34c79f47a320.tar.gz |
Let's be more realistic and limit maximum number of partition to 4k.
MFC after: 1 week
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/part/g_part_apm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/part/g_part_apm.c b/sys/geom/part/g_part_apm.c index 1adee7c..d99ddda 100644 --- a/sys/geom/part/g_part_apm.c +++ b/sys/geom/part/g_part_apm.c @@ -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); |