From 14e24881c4e2839e896c3b6e8b94ecc7a990947f Mon Sep 17 00:00:00 2001 From: Jeremy Allison <jra@samba.org> Date: Fri, 4 Oct 2019 15:21:21 -0700 Subject: [PATCH] s3: VFS: vfs_syncops: Remove rmdir_fn(). No longer used. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> --- source3/modules/vfs_syncops.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source3/modules/vfs_syncops.c b/source3/modules/vfs_syncops.c index 0790a2102d5..a863fbc0676 100644 --- a/source3/modules/vfs_syncops.c +++ b/source3/modules/vfs_syncops.c @@ -271,12 +271,6 @@ static int syncops_mkdirat(vfs_handle_struct *handle, mode)); } -static int syncops_rmdir(vfs_handle_struct *handle, - const struct smb_filename *smb_fname) -{ - SYNCOPS_NEXT_SMB_FNAME(RMDIR, smb_fname, (handle, smb_fname)); -} - /* close needs to be handled specially */ static int syncops_close(vfs_handle_struct *handle, files_struct *fsp) { @@ -331,7 +325,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, .mkdirat_fn = syncops_mkdirat, - .rmdir_fn = syncops_rmdir, .open_fn = syncops_open, .renameat_fn = syncops_renameat, .unlinkat_fn = syncops_unlinkat,