util: add ensure_sanity checks, fix a bug
authorKeith Whitwell <keithw@vmware.com>
Sun, 9 Jan 2011 15:03:16 +0000 (15:03 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 9 Mar 2011 11:17:14 +0000 (11:17 +0000)
commit05efcee46edd07e9b3957fb3c681354e736bc4d3
tree19625b57595581c5b0bdbf98215cd4ac4eb53dd9
parent20962bf547f7beabf3a5125552fff81a01136dbb
util: add ensure_sanity checks, fix a bug

Add ensure_sanity checks.
Fix a bug which caused us to misplace entries adding to a full cache.
src/gallium/auxiliary/util/u_cache.c