Browse Source

set inode value

pull/2013/head
Chris Lu 4 years ago
parent
commit
e332da4837
  1. 2
      weed/filesys/dir.go

2
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.EntryValid = time.Second
// resp.Attr.Inode = fullFilePath.AsInode()
resp.Attr.Inode = fullFilePath.AsInode()
resp.Attr.Valid = time.Second resp.Attr.Valid = time.Second
resp.Attr.Mtime = localEntry.Attr.Mtime resp.Attr.Mtime = localEntry.Attr.Mtime
resp.Attr.Crtime = localEntry.Attr.Crtime resp.Attr.Crtime = localEntry.Attr.Crtime

Loading…
Cancel
Save