mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Remove old comment for PURGE() as it no longer exists and implied it
was a comment to cache_zap(). - Add a comment to quickly state what cache_zap() does. Reviewed by: phk, mux
This commit is contained in:
parent
cb88de0913
commit
da8f0c8429
1 changed files with 4 additions and 2 deletions
|
|
@ -229,8 +229,10 @@ SYSCTL_PROC(_debug_hashstat, OID_AUTO, nchash, CTLTYPE_INT|CTLFLAG_RD,
|
|||
0, 0, sysctl_debug_hashstat_nchash, "I", "nchash chain lengths");
|
||||
|
||||
/*
|
||||
* Delete an entry from its hash list and move it to the front
|
||||
* of the LRU list for immediate reuse.
|
||||
* cache_zap():
|
||||
*
|
||||
* Removes a namecache entry from cache, whether it contains an actual
|
||||
* pointer to a vnode or if it is just a negative cache entry.
|
||||
*/
|
||||
static void
|
||||
cache_zap(ncp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue