mount2: listXattr return ok if xattr is empty

This commit is contained in:
chrislu committed 2022-02-25 14:38:56 -08:00
1 parent 03466f955e
commit 101e6d80b0
1 file changed
+1 -1
+1 -1
View File
@@ -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