CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2020/06/20 01:49:04
Modified files: sbin/clri : clri.c sbin/dumpfs : dumpfs.c sbin/fsck_ffs : pass1.c pass1b.c pass4.c pass5.c setup.c utilities.c sbin/fsirand : fsirand.c sbin/growfs : growfs.c sbin/newfs : mkfs.c sys/ufs/ffs : ffs_alloc.c fs.h Log message: With filesystem having many cylinder groups and many inodes per cg the ncg * ipg calcualtion can overflow if signed types are used. Move to uint32_t for the relevant values. Aligned with FreeBSD changes. Also make sure newfs refuses to create an fs with more that 2^32-1 inodes. ok millert@