s3: VFS: not_implemented: Remove SMB_VFS_NTIMES()
authorSamuel Cabrero <scabrero@samba.org>
Tue, 13 Apr 2021 15:27:08 +0000 (17:27 +0200)
committerSamuel Cabrero <scabrero@sn-devel-184>
Mon, 19 Apr 2021 12:28:30 +0000 (12:28 +0000)
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_not_implemented.c

index 97b2b0bb82c03c0bbbc4f4a69e709a2a99fb6d77..1b76427dc75ff5cb8bbb0e2d7d3efa7c49d78104 100644 (file)
@@ -396,14 +396,6 @@ struct smb_filename *vfs_not_implemented_getwd(vfs_handle_struct *handle,
        return NULL;
 }
 
-int vfs_not_implemented_ntimes(vfs_handle_struct *handle,
-                              const struct smb_filename *smb_fname,
-                              struct smb_file_time *ft)
-{
-       errno = ENOSYS;
-       return -1;
-}
-
 int vfs_not_implemented_fntimes(vfs_handle_struct *handle,
                                files_struct *fsp,
                                struct smb_file_time *ft)
@@ -1046,7 +1038,6 @@ static struct vfs_fn_pointers vfs_not_implemented_fns = {
        .lchown_fn = vfs_not_implemented_lchown,
        .chdir_fn = vfs_not_implemented_chdir,
        .getwd_fn = vfs_not_implemented_getwd,
-       .ntimes_fn = vfs_not_implemented_ntimes,
        .fntimes_fn = vfs_not_implemented_fntimes,
        .ftruncate_fn = vfs_not_implemented_ftruncate,
        .fallocate_fn = vfs_not_implemented_fallocate,