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.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/filesys/file.go b/weed/filesys/file.go
index a41d0d8e6..fd7903b20 100644
--- a/weed/filesys/file.go
+++ b/weed/filesys/file.go
@@ -145,13 +145,13 @@ func (file *File) maybeLoadAttributes(ctx context.Context) error {
resp, err := client.LookupDirectoryEntry(ctx, request)
if err != nil {
- glog.V(0).Infof("file attr read file %v: %v", request, err)
- return err
+ glog.V(3).Infof("file attr read file %v: %v", request, err)
+ return fuse.ENOENT
}
file.entry = resp.Entry
- glog.V(1).Infof("file attr %v %+v: %d", file.fullpath(), file.entry.Attributes, filer2.TotalSize(file.entry.Chunks))
+ glog.V(3).Infof("file attr %v %+v: %d", file.fullpath(), file.entry.Attributes, filer2.TotalSize(file.entry.Chunks))
file.wfs.listDirectoryEntriesCache.Set(file.fullpath(), file.entry, file.wfs.option.EntryCacheTtl)