aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)