[Mesa-dev] [PATCH 7/9] util/disk_cache: fix a comment
Nicolai Hähnle
nhaehnle at gmail.com
Mon Jun 26 09:40:45 UTC 2017
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
src/util/disk_cache.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h
index 72f4463..9aade16 100644
--- a/src/util/disk_cache.h
+++ b/src/util/disk_cache.h
@@ -136,21 +136,21 @@ disk_cache_put(struct disk_cache *cache, const cache_key key,
*/
void *
disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size);
/**
* Store the name \key within the cache, (without any associated data).
*
* Later this key can be checked with disk_cache_has_key(), (unless the key
* has been evicted in the interim).
*
- * Any call to cache_record() may cause an existing, random key to be
+ * Any call to disk_cache_put_key() may cause an existing, random key to be
* evicted from the cache.
*/
void
disk_cache_put_key(struct disk_cache *cache, const cache_key key);
/**
* Test whether the name \key was previously recorded in the cache.
*
* Return value: True if disk_cache_put_key() was previously called with
* \key, (and the key was not evicted in the interim).
--
2.9.3
More information about the mesa-dev
mailing list