CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2020/05/28 09:48:29
Modified files: sbin/fsdb : fsdb.c sbin/newfs : mkfs.c sys/ufs/ffs : ffs_alloc.c ffs_vfsops.c sys/ufs/ufs : dinode.h inode.h Log message: Make generation numbers unsigned and fill them using a random number from the range [1..UINT_MAX] initially. On inode re-use increment and on wrap refill from the range [1..UINT_MAX-1] to avoid assigning UINT_MAX (the original value). Zero still means uninitialized. ok millert@