Author: ae
Date: Tue Feb 14 07:12:46 2012
New Revision: 231640
URL: http://svn.freebsd.org/changeset/base/231640

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

Modified:
  stable/9/sys/geom/part/g_part_apm.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/geom/part/g_part_apm.c
==============================================================================
--- stable/9/sys/geom/part/g_part_apm.c Tue Feb 14 06:42:43 2012        
(r231639)
+++ stable/9/sys/geom/part/g_part_apm.c Tue Feb 14 07:12:46 2012        
(r231640)
@@ -102,7 +102,7 @@ static struct g_part_scheme g_part_apm_s
        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);
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to