s3: VFS: vfs_posix_eadb: Remove rmdir_fn(). No longer used.
authorJeremy Allison <jra@samba.org>
Fri, 4 Oct 2019 22:09:00 +0000 (15:09 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 10 Oct 2019 06:09:41 +0000 (06:09 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/modules/vfs_posix_eadb.c

index 436a880d2ecd2a01e1287acf26580922760d1a3b..30f5612767eb520fa4d943af6e9223c380764969 100644 (file)
@@ -415,17 +415,6 @@ static int posix_eadb_unlinkat(vfs_handle_struct *handle,
        return ret;
 }
 
-/*
- * On rmdir we need to delete the tdb record
- */
-static int posix_eadb_rmdir(vfs_handle_struct *handle,
-                       const struct smb_filename *smb_fname)
-{
-       return posix_eadb_rmdir_internal(handle,
-                                       handle->conn->cwd_fsp,
-                                       smb_fname);
-}
-
 /*
  * Destructor for the VFS private data
  */
@@ -482,7 +471,6 @@ static struct vfs_fn_pointers vfs_posix_eadb_fns = {
        .removexattr_fn = posix_eadb_removexattr,
        .fremovexattr_fn = posix_eadb_fremovexattr,
        .unlinkat_fn = posix_eadb_unlinkat,
-       .rmdir_fn = posix_eadb_rmdir,
        .connect_fn = posix_eadb_connect,
 };