mount2: listXattr return ok if xattr is empty

This commit is contained in:
chrislu 2022-02-25 14:38:56 -08:00
parent 03466f955e
commit 101e6d80b0

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