aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/dircache.go
diff options
context:
space:
mode:
authorSebastian Lackner2019-01-05 02:10:03 +0100
committerrfjakob2019-01-05 12:27:55 +0100
commitf17721c364a522f87b3351a73676405d44b955f6 (patch)
treea7583b430740494d6eb2b28c90e6bfd76faedd3b /internal/fusefrontend/dircache.go
parent8c35235c34448e7d03a36d6109d5de93c22c0054 (diff)
A few more spelling fixes.
Diffstat (limited to 'internal/fusefrontend/dircache.go')
-rw-r--r--internal/fusefrontend/dircache.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/fusefrontend/dircache.go b/internal/fusefrontend/dircache.go
index 5c8b760..6d0d570 100644
--- a/internal/fusefrontend/dircache.go
+++ b/internal/fusefrontend/dircache.go
@@ -14,8 +14,8 @@ import (
const (
// Number of entries in the dirCache. Three entries work well for two
// (probably also three) parallel tar extracts (hit rate around 92%).
- // Keen in sync with test_helpers.maxCacheFds !
- // TODO: How to share this constant without causing in import cycle?
+ // Keep in sync with test_helpers.maxCacheFds !
+ // TODO: How to share this constant without causing an import cycle?
dirCacheSize = 3
// Enable Lookup/Store/Clear debug messages
enableDebugMessages = false
@@ -52,7 +52,7 @@ type dirCacheStruct struct {
entries [dirCacheSize]dirCacheEntryStruct
// Where to store the next entry (index into entries)
nextIndex int
- // On the first Lookup(), the expire thread is stared, and this flag is set
+ // On the first Lookup(), the expire thread is started, and this flag is set
// to true.
expireThreadRunning bool
// Hit rate stats. Evaluated and reset by the expire thread.