diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-04-15 22:42:24 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-04-15 22:42:24 -0700 |
| commit | 3074e9b42850635b28f1ef90fc51e712210d5d45 (patch) | |
| tree | 02abf2800977b75f74bfecbbb9a418bfd0e6ef60 /weed/filesys/file.go | |
| parent | b971317a167ac806a02947047c65ba6c2a2a7bad (diff) | |
| download | seaweedfs-3074e9b42850635b28f1ef90fc51e712210d5d45.tar.xz seaweedfs-3074e9b42850635b28f1ef90fc51e712210d5d45.zip | |
ensure consistent inode value
Diffstat (limited to 'weed/filesys/file.go')
| -rw-r--r-- | weed/filesys/file.go | 2 |
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) |
