From: Jeremy Allison Date: Fri, 6 Sep 2019 22:49:37 +0000 (-0700) Subject: s3: VFS: vfs_syncops. Remove mkdir_fn(). No longer used. X-Git-Tag: talloc-2.3.1~873 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a8bd88189090f71fd10e87f53b3cdf83929d501;p=thirdparty%2Fsamba.git s3: VFS: vfs_syncops. Remove mkdir_fn(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/modules/vfs_syncops.c b/source3/modules/vfs_syncops.c index 7f3625b1112..557f99bafe1 100644 --- a/source3/modules/vfs_syncops.c +++ b/source3/modules/vfs_syncops.c @@ -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,