Missed when SMB_VFS_LISTXATTR() was removed.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
return len;
}
-int vxfs_listxattr_path(const char *path, char *list, size_t size)
-{
- int ret, fd = -1;
-
- fd = open(path, O_RDONLY);
- if (fd == -1) {
- DEBUG(10, ("file not opened: vxfs_listxattr_path for %s\n",
- path));
- return -1;
- }
-
- ret = vxfs_listxattr_fd(fd, list, size);
- close(fd);
-
- return ret;
-}
-
int vxfs_setwxattr_fd(int fd)
{
int ret = 0;
int vxfs_removexattr_path(const char *, const char *, bool);
int vxfs_removexattr_fd(int, const char *);
-int vxfs_listxattr_path(const char *, char *, size_t);
int vxfs_listxattr_fd(int, char *, size_t);
int vxfs_setwxattr_path(const char *, bool);