aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-25 14:38:56 -0800
committerchrislu <chris.lu@gmail.com>2022-02-25 14:38:56 -0800
commit101e6d80b03d56d422d42b6325c61c0579d20dc6 (patch)
tree27d3057504924357649b7b2b36055d232c774132
parent03466f955e7907f5e7442dd3e60c45a3ab261ea3 (diff)
downloadseaweedfs-101e6d80b03d56d422d42b6325c61c0579d20dc6.tar.xz
seaweedfs-101e6d80b03d56d422d42b6325c61c0579d20dc6.zip
mount2: listXattr return ok if xattr is empty
-rw-r--r--weed/mount/weedfs_xattr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/mount/weedfs_xattr.go b/weed/mount/weedfs_xattr.go
index 389e86148..09cd2e980 100644
--- a/weed/mount/weedfs_xattr.go
+++ b/weed/mount/weedfs_xattr.go
@@ -125,7 +125,7 @@ func (wfs *WFS) ListXAttr(cancel <-chan struct{}, header *fuse.InHeader, dest []
return 0, fuse.ENOENT
}
if entry.Extended == nil {
- return 0, fuse.ENOATTR
+ return 0, fuse.OK
}
var data []byte