aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Ostapenko <pm@igoro.pro>2023-04-19 17:12:25 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2023-04-19 18:47:38 +0000
commit0e0c47ecd624da976bf7e1ff391cb4a00c76b200 (patch)
tree7825e6e0b946d0aced6a35242a03c81dc09c11b5
parent4e8a20a7642a4ffa694fa103ec4aa8da806f36a6 (diff)
downloadsrc-0e0c47ecd624da976bf7e1ff391cb4a00c76b200.tar.gz
src-0e0c47ecd624da976bf7e1ff391cb4a00c76b200.zip
vfs cache: fix vfs.cache.stats.* name typos
Two vfs.cache.stats names are fixed: - s/.dotdothis/.dotdothits/ - s/.posszaps/.poszaps/ Signed-off-by: Igor Ostapenko <pm@igoro.pro> [mjg: massaged the header a little bit]
-rw-r--r--sys/kern/vfs_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 294f7740dacf..e4977392349f 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -535,10 +535,10 @@ STATNODE_ULONG(count, numcache, "Number of cache entries");
STATNODE_COUNTER(heldvnodes, numcachehv, "Number of namecache entries with vnodes held");
STATNODE_COUNTER(drops, numdrops, "Number of dropped entries due to reaching the limit");
STATNODE_COUNTER(dothits, dothits, "Number of '.' hits");
-STATNODE_COUNTER(dotdothis, dotdothits, "Number of '..' hits");
+STATNODE_COUNTER(dotdothits, dotdothits, "Number of '..' hits");
STATNODE_COUNTER(miss, nummiss, "Number of cache misses");
STATNODE_COUNTER(misszap, nummisszap, "Number of cache misses we do not want to cache");
-STATNODE_COUNTER(posszaps, numposzaps,
+STATNODE_COUNTER(poszaps, numposzaps,
"Number of cache hits (positive) we do not want to cache");
STATNODE_COUNTER(poshits, numposhits, "Number of cache hits (positive)");
STATNODE_COUNTER(negzaps, numnegzaps,