diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-04 08:46:25 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 13:39:01 +1000 |
commit | 19eee33d82b4c1947b646241b6f22651abbce19d (patch) | |
tree | 7be6faa2f4a5072bffd420af0e8f70fab7113f48 /source3/modules/vfs_catia.c | |
parent | 4af0f5f135211f49f8d6365e1819c11037485170 (diff) | |
download | samba-19eee33d82b4c1947b646241b6f22651abbce19d.tar.gz samba-19eee33d82b4c1947b646241b6f22651abbce19d.tar.bz2 samba-19eee33d82b4c1947b646241b6f22651abbce19d.zip |
s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configure
If this is ever needed again, it would be more appropriate as an options argument
to removexattr.
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 6979dc6c8d..821a755e06 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -875,28 +875,6 @@ catia_removexattr(vfs_handle_struct *handle, const char *path, } static int -catia_lremovexattr(vfs_handle_struct *handle, const char *path, - const char *name) -{ - 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_LREMOVEXATTR(handle, path, mapped_name); - TALLOC_FREE(mapped_name); - - return ret; -} - -static int catia_setxattr(vfs_handle_struct *handle, const char *path, const char *name, const void *value, size_t size, int flags) @@ -944,7 +922,6 @@ static struct vfs_fn_pointers vfs_catia_fns = { .getxattr_fn = catia_getxattr, .listxattr_fn = catia_listxattr, .removexattr_fn = catia_removexattr, - .lremovexattr_fn = catia_lremovexattr, .setxattr_fn = catia_setxattr, }; |