s3: VFS: vfs_syncops. Remove mkdir_fn(). No longer used.
authorJeremy Allison <jra@samba.org>
Fri, 6 Sep 2019 22:49:37 +0000 (15:49 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 11 Sep 2019 18:24:31 +0000 (18:24 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_syncops.c

index 7f3625b1112965eefc23cc4375b59eeb7c6969c5..557f99bafe13e10a9913d86b46c0c77888703146 100644 (file)
@@ -251,13 +251,6 @@ static int syncops_mknodat(vfs_handle_struct *handle,
                                dev));
 }
 
-static int syncops_mkdir(vfs_handle_struct *handle,
-                       const struct smb_filename *smb_fname,
-                       mode_t mode)
-{
-        SYNCOPS_NEXT_SMB_FNAME(MKDIR, smb_fname, (handle, smb_fname, mode));
-}
-
 static int syncops_mkdirat(vfs_handle_struct *handle,
                        struct files_struct *dirfsp,
                        const struct smb_filename *smb_fname,
@@ -330,7 +323,6 @@ static int syncops_connect(struct vfs_handle_struct *handle, const char *service
 
 static struct vfs_fn_pointers vfs_syncops_fns = {
        .connect_fn = syncops_connect,
-       .mkdir_fn = syncops_mkdir,
        .mkdirat_fn = syncops_mkdirat,
        .rmdir_fn = syncops_rmdir,
        .open_fn = syncops_open,