Browse Source

mount2: listXattr return ok if xattr is empty

original_weed_mount
chrislu 3 years ago
parent
commit
101e6d80b0
  1. 2
      weed/mount/weedfs_xattr.go

2
weed/mount/weedfs_xattr.go

@ -125,7 +125,7 @@ func (wfs *WFS) ListXAttr(cancel <-chan struct{}, header *fuse.InHeader, dest []
return 0, fuse.ENOENT return 0, fuse.ENOENT
} }
if entry.Extended == nil { if entry.Extended == nil {
return 0, fuse.ENOATTR
return 0, fuse.OK
} }
var data []byte var data []byte

Loading…
Cancel
Save