summaryrefslogtreecommitdiff
path: root/lib/containers/arcache.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-29 21:03:11 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-03-29 22:49:02 -0600
commitc882629607b10487777240d94b9b754c96c9b13f (patch)
tree1376db772751945e834da39ad8feb0e4a4706527 /lib/containers/arcache.go
parent0b092a27122fcf19479d6cdeae5f7c9493d9741a (diff)
containers: Fix comments
Diffstat (limited to 'lib/containers/arcache.go')
-rw-r--r--lib/containers/arcache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/containers/arcache.go b/lib/containers/arcache.go
index 3f15f67..c92a149 100644
--- a/lib/containers/arcache.go
+++ b/lib/containers/arcache.go
@@ -230,7 +230,7 @@ type arCache[K comparable, V any] struct {
// Before getting to the meaty ARC stuff, let's get some
// boring/simple synchronization/blocking primitives out of the way:
-// waitForEval is called before storing something into the cache.
+// waitForAvail is called before storing something into the cache.
// This is nescessary because if the cache is full and all entries are
// pinned, then we won't have to store the entry until something gets
// unpinned ("Release()d").