aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/filesys/file.go')
-rw-r--r--weed/filesys/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/file.go b/weed/filesys/file.go
index a6bc734f3..00a5ac279 100644
--- a/weed/filesys/file.go
+++ b/weed/filesys/file.go
@@ -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)