All code in fuse.h and struct fuse_module are not used by virtiofsd
so removing them is safe.
Signed-off-by: Xiao Yang
---
tools/virtiofsd/fuse.h | 1229 --
tools/virtiofsd/fuse_i.h | 16 -
2 files changed, 1245 deletions(-)
delete mode 100644
This fixes the xattr operation for directory and special files
(which can be tested by xfstests generic/062 with -o xattr option).
The overall logic is switched back to the same as v1 in favor of performance
(i.e. keep original implementation for regular files/directories)
but I add a cleanup
Current virtiofsd has problems about xattr operations and
they does not work properly for directory/symlink/special file.
The fundamental cause is that virtiofsd uses openat() + f...xattr()
systemcalls for xattr operation but we should not open symlink/special
file in the daemon. Therefore the