diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2020-05-28 15:48:30 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2020-05-28 15:48:30 +0000 |
commit | e4fe65347da83215efa273f99ad7db13e99f7658 (patch) | |
tree | 671ee987ec5337fa008127dde705192b1715f129 /sbin/dmesg | |
parent | a91ee5b7beebd6cafd108ea10ff85cf84f4f9243 (diff) |
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@
Diffstat (limited to 'sbin/dmesg')
0 files changed, 0 insertions, 0 deletions