From b2f7cfa848def91b6ea458e1ad14af8e96ad4ca3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 2 Apr 2012 12:43:15 +1000 Subject: s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configure --- source3/modules/vfs_full_audit.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'source3/modules/vfs_full_audit.c') diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 34c7a848e6..a35c210d2b 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -191,7 +191,6 @@ typedef enum _vfs_op_type { /* EA operations. */ SMB_VFS_OP_GETXATTR, - SMB_VFS_OP_LGETXATTR, SMB_VFS_OP_FGETXATTR, SMB_VFS_OP_LISTXATTR, SMB_VFS_OP_LLISTXATTR, @@ -322,7 +321,6 @@ static struct { { SMB_VFS_OP_SYS_ACL_FREE_ACL, "sys_acl_free_acl" }, { SMB_VFS_OP_SYS_ACL_FREE_QUALIFIER, "sys_acl_free_qualifier" }, { SMB_VFS_OP_GETXATTR, "getxattr" }, - { SMB_VFS_OP_LGETXATTR, "lgetxattr" }, { SMB_VFS_OP_FGETXATTR, "fgetxattr" }, { SMB_VFS_OP_LISTXATTR, "listxattr" }, { SMB_VFS_OP_LLISTXATTR, "llistxattr" }, @@ -1974,20 +1972,6 @@ static ssize_t smb_full_audit_getxattr(struct vfs_handle_struct *handle, return result; } -static ssize_t smb_full_audit_lgetxattr(struct vfs_handle_struct *handle, - const char *path, const char *name, - void *value, size_t size) -{ - ssize_t result; - - result = SMB_VFS_NEXT_LGETXATTR(handle, path, name, value, size); - - do_log(SMB_VFS_OP_LGETXATTR, (result >= 0), handle, - "%s|%s", path, name); - - return result; -} - static ssize_t smb_full_audit_fgetxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *name, void *value, size_t size) @@ -2338,7 +2322,6 @@ static struct vfs_fn_pointers vfs_full_audit_fns = { .sys_acl_free_acl_fn = smb_full_audit_sys_acl_free_acl, .sys_acl_free_qualifier_fn = smb_full_audit_sys_acl_free_qualifier, .getxattr_fn = smb_full_audit_getxattr, - .lgetxattr_fn = smb_full_audit_lgetxattr, .fgetxattr_fn = smb_full_audit_fgetxattr, .listxattr_fn = smb_full_audit_listxattr, .llistxattr_fn = smb_full_audit_llistxattr, -- cgit