From 8e65a8c2e7ddbc3a53f7adf240cb2a31eb4fdc51 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 4 Oct 2019 15:09:00 -0700 Subject: [PATCH] s3: VFS: vfs_posix_eadb: Remove rmdir_fn(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- source3/modules/vfs_posix_eadb.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/source3/modules/vfs_posix_eadb.c b/source3/modules/vfs_posix_eadb.c index 436a880d2ec..30f5612767e 100644 --- a/source3/modules/vfs_posix_eadb.c +++ b/source3/modules/vfs_posix_eadb.c @@ -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, }; -- 2.47.3