diff options
author | Jakob Unterwurzacher | 2017-04-01 15:49:53 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2017-04-01 15:49:53 +0200 |
commit | acb73ca4363a8fbf3e0be1907a9b26689d879d73 (patch) | |
tree | 40ff06220daf3fc0fffac966bf800aa49621b9cb /internal/fusefrontend_reverse/rpath_cache.go | |
parent | c87439b4e691f55f79241bc7d9c2bf64a67abe14 (diff) |
fusefrontend_reverse: convert fmt.Printf calls to tlog
The fmt.Printfs output would end up in the paniclog.
Diffstat (limited to 'internal/fusefrontend_reverse/rpath_cache.go')
-rw-r--r-- | internal/fusefrontend_reverse/rpath_cache.go | 5 |
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 |