diff options
author | Andrew R. Reiter <arr@FreeBSD.org> | 2003-02-15 18:58:06 +0000 |
---|---|---|
committer | Andrew R. Reiter <arr@FreeBSD.org> | 2003-02-15 18:58:06 +0000 |
commit | da8f0c84291928ce2d986ca424a768e5c609b628 (patch) | |
tree | 82d97f26afab7b176f2571ba25a91807710e3b67 /sys/kern/vfs_cache.c | |
parent | cb88de091307d4c2d4f982b03423e5b0b61dcbdd (diff) | |
download | src-da8f0c84291928ce2d986ca424a768e5c609b628.tar.gz src-da8f0c84291928ce2d986ca424a768e5c609b628.zip |
- 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
Notes
Notes:
svn path=/head/; revision=110952
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r-- | sys/kern/vfs_cache.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index c74f4ee98709..6faebdb9279e 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -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) |