fusefrontend: drop unused haveGetdents warning
We don't actually print that warning anymore.
This commit is contained in:
parent
de878a3346
commit
ea51837361
@ -8,7 +8,6 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"runtime"
|
"runtime"
|
||||||
"sync"
|
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
@ -257,9 +256,6 @@ retry:
|
|||||||
return fuse.OK
|
return fuse.OK
|
||||||
}
|
}
|
||||||
|
|
||||||
// If syscallcompat.HaveGetdents is false we will warn once about it
|
|
||||||
var haveGetdentsWarnOnce sync.Once
|
|
||||||
|
|
||||||
// OpenDir implements pathfs.FileSystem
|
// OpenDir implements pathfs.FileSystem
|
||||||
func (fs *FS) OpenDir(dirName string, context *fuse.Context) ([]fuse.DirEntry, fuse.Status) {
|
func (fs *FS) OpenDir(dirName string, context *fuse.Context) ([]fuse.DirEntry, fuse.Status) {
|
||||||
tlog.Debug.Printf("OpenDir(%s)", dirName)
|
tlog.Debug.Printf("OpenDir(%s)", dirName)
|
||||||
|
Loading…
Reference in New Issue
Block a user