summaryrefslogtreecommitdiff
path: root/internal/fusefrontend_reverse/rpath_cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend_reverse/rpath_cache.go')
-rw-r--r--internal/fusefrontend_reverse/rpath_cache.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/fusefrontend_reverse/rpath_cache.go b/internal/fusefrontend_reverse/rpath_cache.go
index 81e945b..f90b357 100644
--- a/internal/fusefrontend_reverse/rpath_cache.go
+++ b/internal/fusefrontend_reverse/rpath_cache.go
@@ -21,16 +21,15 @@ func (c *rPathCacheContainer) lookup(cPath string) ([]byte, string) {
c.Lock()
defer c.Unlock()
if cPath == c.cPath {
- //fmt.Printf("HIT %q\n", cPath)
+ // hit
return c.dirIV, c.pPath
}
- //fmt.Printf("MISS %q\n", cPath)
+ // miss
return nil, ""
}
// store - write entry for "cPath" into the cache
func (c *rPathCacheContainer) store(cPath string, dirIV []byte, pPath string) {
- //fmt.Printf("STORE %q\n", cPath)
c.Lock()
defer c.Unlock()
c.cPath = cPath