summaryrefslogtreecommitdiff
path: root/internal/fusefrontend/fs_dir.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-01-25 09:06:06 +0100
committerJakob Unterwurzacher2018-01-25 09:06:06 +0100
commitea5183736191d14b2ee5b776478812c392ab4796 (patch)
treeb1373a7bd7a21a9252653970e6b7c618b4256d61 /internal/fusefrontend/fs_dir.go
parentde878a3346bcc070cf16fcacdc89269119489b45 (diff)
fusefrontend: drop unused haveGetdents warning
We don't actually print that warning anymore.
Diffstat (limited to 'internal/fusefrontend/fs_dir.go')
-rw-r--r--internal/fusefrontend/fs_dir.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/fusefrontend/fs_dir.go b/internal/fusefrontend/fs_dir.go
index 2102008..fcfdbb5 100644
--- a/internal/fusefrontend/fs_dir.go
+++ b/internal/fusefrontend/fs_dir.go
@@ -8,7 +8,6 @@ import (
"os"
"path/filepath"
"runtime"
- "sync"
"syscall"
"golang.org/x/sys/unix"
@@ -257,9 +256,6 @@ retry:
return fuse.OK
}
-// If syscallcompat.HaveGetdents is false we will warn once about it
-var haveGetdentsWarnOnce sync.Once
-
// OpenDir implements pathfs.FileSystem
func (fs *FS) OpenDir(dirName string, context *fuse.Context) ([]fuse.DirEntry, fuse.Status) {
tlog.Debug.Printf("OpenDir(%s)", dirName)