From: Jeremy Allison Date: Fri, 4 Oct 2019 22:09:00 +0000 (-0700) Subject: s3: VFS: vfs_posix_eadb: Remove rmdir_fn(). No longer used. X-Git-Tag: talloc-2.3.1~402 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e65a8c2e7ddbc3a53f7adf240cb2a31eb4fdc51;p=thirdparty%2Fsamba.git s3: VFS: vfs_posix_eadb: Remove rmdir_fn(). No longer used. Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- 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, };