s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configure
[samba.git] / source3 / modules / vfs_time_audit.c
index 8d7c7439f2beb3e45f3f1b5a0926c26acc7619af..4064bccfbcc1bb7eaf316307b322150e159db48e 100644 (file)
@@ -1993,26 +1993,6 @@ static ssize_t smb_time_audit_listxattr(struct vfs_handle_struct *handle,
        return result;
 }
 
-static ssize_t smb_time_audit_llistxattr(struct vfs_handle_struct *handle,
-                                        const char *path, char *list,
-                                        size_t size)
-{
-       ssize_t result;
-       struct timespec ts1,ts2;
-       double timediff;
-
-       clock_gettime_mono(&ts1);
-       result = SMB_VFS_NEXT_LLISTXATTR(handle, path, list, size);
-       clock_gettime_mono(&ts2);
-       timediff = nsec_time_diff(&ts2,&ts1)*1.0e-9;
-
-       if (timediff > audit_timeout) {
-               smb_time_audit_log("llistxattr", timediff);
-       }
-
-       return result;
-}
-
 static ssize_t smb_time_audit_flistxattr(struct vfs_handle_struct *handle,
                                         struct files_struct *fsp, char *list,
                                         size_t size)
@@ -2416,7 +2396,6 @@ static struct vfs_fn_pointers vfs_time_audit_fns = {
        .getxattr_fn = smb_time_audit_getxattr,
        .fgetxattr_fn = smb_time_audit_fgetxattr,
        .listxattr_fn = smb_time_audit_listxattr,
-       .llistxattr_fn = smb_time_audit_llistxattr,
        .flistxattr_fn = smb_time_audit_flistxattr,
        .removexattr_fn = smb_time_audit_removexattr,
        .lremovexattr_fn = smb_time_audit_lremovexattr,