From 222798d9266385dc89f47c215803bc316edda6cd Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 15 Feb 2022 00:29:17 -0800 Subject: [PATCH] mount2: fix for read dir plus on linux --- weed/mount/weedfs_dir_read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/mount/weedfs_dir_read.go b/weed/mount/weedfs_dir_read.go index ad8a161d7..b14bacc1f 100644 --- a/weed/mount/weedfs_dir_read.go +++ b/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 = "."