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