mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-24 04:43:33 +08:00
fix second listing
This commit is contained in:
@@ -135,8 +135,13 @@ func (wfs *WFS) doReadDirectory(input *fuse.ReadIn, out *fuse.DirEntryList, isPl
|
||||
|
||||
dh := wfs.GetDirectoryHandle(DirectoryHandleId(input.Fh))
|
||||
if dh.isFinished {
|
||||
if input.Offset == 0 {
|
||||
dh.isFinished = false
|
||||
dh.lastEntryName = ""
|
||||
} else {
|
||||
return fuse.OK
|
||||
}
|
||||
}
|
||||
|
||||
isEarlyTerminated := false
|
||||
dirPath := wfs.inodeToPath.GetPath(input.NodeId)
|
||||
|
Reference in New Issue
Block a user