ensure consistent inode value

This commit is contained in:
Chris Lu
2021-04-15 22:42:24 -07:00
parent b971317a16
commit 3074e9b428
2 changed files with 4 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ func (file *File) Attr(ctx context.Context, attr *fuse.Attr) (err error) {
return fuse.ENOENT
}
// attr.Inode = file.fullpath().AsInode()
attr.Inode = file.fullpath().AsInode()
attr.Valid = time.Second
attr.Mode = os.FileMode(entry.Attributes.FileMode)
attr.Size = filer.FileSize(entry)