mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 22:43:36 +08:00
return fuse.Status when looking up by inode
This commit is contained in:
@@ -142,7 +142,10 @@ func (wfs *WFS) doReadDirectory(input *fuse.ReadIn, out *fuse.DirEntryList, isPl
|
||||
}
|
||||
|
||||
isEarlyTerminated := false
|
||||
dirPath := wfs.inodeToPath.GetPath(input.NodeId)
|
||||
dirPath, code := wfs.inodeToPath.GetPath(input.NodeId)
|
||||
if code != fuse.OK {
|
||||
return code
|
||||
}
|
||||
|
||||
var dirEntry fuse.DirEntry
|
||||
if input.Offset == 0 {
|
||||
|
Reference in New Issue
Block a user