diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-04 08:34:25 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 13:39:00 +1000 |
commit | c70ac29c5441073752da7384b7f3bf54c9986aa0 (patch) | |
tree | ad33c1dc4ac5782f682ce66029d73cc5551a4a82 /source3/modules/vfs_catia.c | |
parent | c5b17c555576a2b8e24e0df613dde922fe60520d (diff) | |
download | samba-c70ac29c5441073752da7384b7f3bf54c9986aa0.tar.gz samba-c70ac29c5441073752da7384b7f3bf54c9986aa0.tar.bz2 samba-c70ac29c5441073752da7384b7f3bf54c9986aa0.zip |
s3-vfs: Remove unused lsetxattr 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 | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c index 687547dc17..6979dc6c8d 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -919,29 +919,6 @@ catia_setxattr(vfs_handle_struct *handle, const char *path, return ret; } -static int -catia_lsetxattr(vfs_handle_struct *handle, const char *path, - const char *name, const void *value, size_t size, - int flags) -{ - char *mapped_name = NULL; - NTSTATUS status; - ssize_t ret; - - status = catia_string_replace_allocate(handle->conn, - name, &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_LSETXATTR(handle, path, mapped_name, value, size, flags); - TALLOC_FREE(mapped_name); - - return ret; -} - static struct vfs_fn_pointers vfs_catia_fns = { .mkdir_fn = catia_mkdir, .rmdir_fn = catia_rmdir, @@ -969,7 +946,6 @@ static struct vfs_fn_pointers vfs_catia_fns = { .removexattr_fn = catia_removexattr, .lremovexattr_fn = catia_lremovexattr, .setxattr_fn = catia_setxattr, - .lsetxattr_fn = catia_lsetxattr, }; NTSTATUS vfs_catia_init(void) |