aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/xattr.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-08-23 15:48:02 -0700
committerChris Lu <chris.lu@gmail.com>2020-08-23 15:48:02 -0700
commitaee27ccbe131578b8627022165d17a972153f0a0 (patch)
tree196e2fd4ecc191197c6c3b56e2466a547ff85283 /weed/filesys/xattr.go
parentc19245886c39fcc7f25db5d3963e7cbe40fa786f (diff)
downloadseaweedfs-aee27ccbe131578b8627022165d17a972153f0a0.tar.xz
seaweedfs-aee27ccbe131578b8627022165d17a972153f0a0.zip
multiple fixes
* adjust isOpen count * move ContinuousDirtyPages lock to filehandle * fix problem with MergeIntoVisibles, avoid reusing slices * let filer delete the garbage
Diffstat (limited to 'weed/filesys/xattr.go')
-rw-r--r--weed/filesys/xattr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/xattr.go b/weed/filesys/xattr.go
index 091a70fa3..92e43b675 100644
--- a/weed/filesys/xattr.go
+++ b/weed/filesys/xattr.go
@@ -119,5 +119,5 @@ func (wfs *WFS) maybeLoadEntry(dir, name string) (entry *filer_pb.Entry, err err
if cacheErr == filer_pb.ErrNotFound {
return nil, fuse.ENOENT
}
- return cachedEntry.ToProtoEntry(), nil
+ return cachedEntry.ToProtoEntry(), cacheErr
}