mount2: fix for read dir plus on linux

This commit is contained in:
chrislu 2022-02-15 00:29:17 -08:00
parent 4e72863ba5
commit 222798d926

View File

@ -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 = "."