Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

mount2: listXattr return ok if xattr is empty

chrislu101e6d80b03d
diff --git a/weed/mount/weedfs_xattr.go b/weed/mount/weedfs_xattr.go
index 389e86148a..09cd2e9809 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