diff options
author | gleb <gleb@FreeBSD.org> | 2012-04-07 15:30:46 +0000 |
---|---|---|
committer | gleb <gleb@FreeBSD.org> | 2012-04-07 15:30:46 +0000 |
commit | 75744aafa6065b399e52414e87808d1ab2bd5979 (patch) | |
tree | 17a7aa7f41002a199bcdb8e032d7e6849cb90bc8 /lib/libc/stdlib/lsearch.c | |
parent | fb452e77b0bf349c6f07fac7be964a846910018d (diff) | |
download | FreeBSD-src-75744aafa6065b399e52414e87808d1ab2bd5979.zip FreeBSD-src-75744aafa6065b399e52414e87808d1ab2bd5979.tar.gz |
tmpfs supports only INT_MAX nodes due to limitations of unit number
allocator.
Replace UINT32_MAX checks with INT_MAX. Keeping more than 2^31 nodes in
memory is not likely to become possible in foreseeable feature and would
require new unit number allocator.
Discussed with: delphij
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/lsearch.c')
0 files changed, 0 insertions, 0 deletions