summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-07-03 20:08:09 +0200
committerJakob Unterwurzacher2016-07-03 20:08:09 +0200
commit1d7728959c2120cd9bc0f1280cbdd1daccaa497c (patch)
tree5d9fbdd8d7ba3497af252c01ac8ff25b401bf5ba
parent79851bf6cc391f1150be387631159d553d5426f3 (diff)
fusefrontend: downgrade Renameat log message to debug
-rw-r--r--internal/fusefrontend/fs.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/fusefrontend/fs.go b/internal/fusefrontend/fs.go
index cd9eec1..561af8f 100644
--- a/internal/fusefrontend/fs.go
+++ b/internal/fusefrontend/fs.go
@@ -4,7 +4,6 @@ package fusefrontend
import (
"encoding/base64"
- "fmt"
"os"
"path/filepath"
"sync"
@@ -411,7 +410,7 @@ func (fs *FS) Rename(oldPath string, newPath string, context *fuse.Context) (cod
}
}
// Actual rename
- fmt.Printf("Renameat oldfd=%d oldpath=%s newfd=%d newpath=%s\n", finalOldDirFd, finalOldPath, finalNewDirFd, finalNewPath)
+ tlog.Debug.Printf("Renameat oldfd=%d oldpath=%s newfd=%d newpath=%s\n", finalOldDirFd, finalOldPath, finalNewDirFd, finalNewPath)
err = syscallcompat.Renameat(finalOldDirFd, finalOldPath, finalNewDirFd, finalNewPath)
if err == syscall.ENOTEMPTY || err == syscall.EEXIST {
// If an empty directory is overwritten we will always get an error as