diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-04 08:26:22 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 13:39:00 +1000 |
commit | c5b17c555576a2b8e24e0df613dde922fe60520d (patch) | |
tree | c42c1041476e44c65f0304cc515c0d8212bf3fd1 /source3/modules/vfs_catia.c | |
parent | b2f7cfa848def91b6ea458e1ad14af8e96ad4ca3 (diff) | |
download | samba-c5b17c555576a2b8e24e0df613dde922fe60520d.tar.gz samba-c5b17c555576a2b8e24e0df613dde922fe60520d.tar.bz2 samba-c5b17c555576a2b8e24e0df613dde922fe60520d.zip |
s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configure
If this is ever needed again, it would be more appropriate as an options argument
to listxattr.
Andrew Bartlett
Diffstat (limited to 'source3/modules/vfs_catia.c')
-rw-r--r-- | source3/modules/vfs_catia.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index c34edf7073..687547dc17 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -852,28 +852,6 @@ catia_listxattr(vfs_handle_struct *handle, const char *path, return ret; } -static ssize_t -catia_llistxattr(vfs_handle_struct *handle, const char *path, - char *list, size_t size) -{ - char *mapped_name = NULL; - NTSTATUS status; - ssize_t ret; - - status = catia_string_replace_allocate(handle->conn, - path, &mapped_name, vfs_translate_to_unix); - if (!NT_STATUS_IS_OK(status)) { - errno = map_errno_from_nt_status(status); - return -1; - } - - - ret = SMB_VFS_NEXT_LLISTXATTR(handle, mapped_name, list, size); - TALLOC_FREE(mapped_name); - - return ret; -} - static int catia_removexattr(vfs_handle_struct *handle, const char *path, const char *name) @@ -988,7 +966,6 @@ static struct vfs_fn_pointers vfs_catia_fns = { .sys_acl_delete_def_file_fn = catia_sys_acl_delete_def_file, .getxattr_fn = catia_getxattr, .listxattr_fn = catia_listxattr, - .llistxattr_fn = catia_llistxattr, .removexattr_fn = catia_removexattr, .lremovexattr_fn = catia_lremovexattr, .setxattr_fn = catia_setxattr, |