From e332da48371f28d42f71a0b33d48adb49f1f83db Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 17 Apr 2021 14:32:49 -0700 Subject: [PATCH] set inode value --- weed/filesys/dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filesys/dir.go b/weed/filesys/dir.go index 3588a5951..f6f1c2562 100644 --- a/weed/filesys/dir.go +++ b/weed/filesys/dir.go @@ -305,7 +305,7 @@ func (dir *Dir) Lookup(ctx context.Context, req *fuse.LookupRequest, resp *fuse. } // resp.EntryValid = time.Second - // resp.Attr.Inode = fullFilePath.AsInode() + resp.Attr.Inode = fullFilePath.AsInode() resp.Attr.Valid = time.Second resp.Attr.Mtime = localEntry.Attr.Mtime resp.Attr.Crtime = localEntry.Attr.Crtime