diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-04-17 14:32:49 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-04-18 13:07:28 -0700 |
| commit | e332da48371f28d42f71a0b33d48adb49f1f83db (patch) | |
| tree | f256de16bea002983100ba02a2a8a11e69a83797 | |
| parent | 2acf6be24e168c4cd6bdeb64244333de17654251 (diff) | |
| download | seaweedfs-e332da48371f28d42f71a0b33d48adb49f1f83db.tar.xz seaweedfs-e332da48371f28d42f71a0b33d48adb49f1f83db.zip | |
set inode value
| -rw-r--r-- | weed/filesys/dir.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
