Skip to content

Commit

Permalink
fusefrontend: drop unused haveGetdents warning
Browse files Browse the repository at this point in the history
We don't actually print that warning anymore.
  • Loading branch information
rfjakob committed Jan 25, 2018
1 parent de878a3 commit ea51837
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/fusefrontend/fs_dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"os"
"path/filepath"
"runtime"
"sync"
"syscall"

"golang.org/x/sys/unix"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ea51837

Please sign in to comment.