aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/xattr.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-07 17:01:39 -0800
committerChris Lu <chris.lu@gmail.com>2020-03-07 17:01:39 -0800
commitafb20de14cd597c4651a409ac3129f854f6bd1c5 (patch)
tree744cb1715f73cb5da73af31a00e144fb030a6ce0 /weed/filesys/xattr.go
parent8645283a7b8a50485390267be9f83b83707f6161 (diff)
downloadseaweedfs-afb20de14cd597c4651a409ac3129f854f6bd1c5.tar.xz
seaweedfs-afb20de14cd597c4651a409ac3129f854f6bd1c5.zip
breaks dependency loop
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 993e7ad93..af154a7ee 100644
--- a/weed/filesys/xattr.go
+++ b/weed/filesys/xattr.go
@@ -123,7 +123,7 @@ func (wfs *WFS) maybeLoadEntry(dir, name string) (entry *filer_pb.Entry, err err
resp, err := filer_pb.LookupEntry(client, request)
if err != nil {
- if err == filer2.ErrNotFound {
+ if err == filer_pb.ErrNotFound {
glog.V(3).Infof("file attr read not found file %v: %v", request, err)
return fuse.ENOENT
}