Browse Source

mount2: fix for read dir plus on linux

pull/2676/head
chrislu 3 years ago
parent
commit
222798d926
  1. 2
      weed/mount/weedfs_dir_read.go

2
weed/mount/weedfs_dir_read.go

@ -76,7 +76,7 @@ func (wfs *WFS) doReadDirectory(input *fuse.ReadIn, out *fuse.DirEntryList, isPl
var counter uint64
var dirEntry fuse.DirEntry
if input.Offset == 0 {
if input.Offset == 0 && !isPlusMode {
counter++
dirEntry.Ino = input.NodeId
dirEntry.Name = "."

Loading…
Cancel
Save