]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When we have found a chunk of memory that is large enough and have computed
authorHartmut Brandt <harti@FreeBSD.org>
Thu, 27 Feb 2003 08:56:41 +0000 (08:56 +0000)
committerHartmut Brandt <harti@FreeBSD.org>
Thu, 27 Feb 2003 08:56:41 +0000 (08:56 +0000)
commitdce4c82d8ec3a00fb69688e28600c163adddab15
tree3f8f5811ce2ce014ed9383a08dad49c9120adff2
parent76d6aef572ff1834fa5cf146861c1da40a5b1529
When we have found a chunk of memory that is large enough and have computed
a correctly aligned address in this block we really want to check, that the
part of the chunk that starts at the aligned address is large enough with
regard to the original request. Comparing it to 0 makes no sense, because this
is always true except in the rare case, that the aligned address is just at
the end of the chunk.

Approved by: jake (mentor)
sys/dev/hea/eni_buffer.c