We can only use f{set,get,remove,list}xattr functions on regular and
directory files. For other types of files, use fchdir and the ...xattr
version of the syscall, instead of the f...xattr alternative.

This is a port of virtiofsd commit bdfd6678834 (virtiofsd: Fix xattr
operations) by Misono Tomohiro.

Signed-off-by: Sergio Lopez <[email protected]>
---
https://gitlab.com/virtio-fs/virtiofsd-rs/-/merge_requests/32

_______________________________________________
Virtio-fs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/virtio-fs

Reply via email to