summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-06-25 11:57:16 +1200
committerAndrew Bartlett <abartlet@samba.org>2019-06-26 04:12:32 +0000
commit6f81fe151ae519490c528d7e1371288003a045f4 (patch)
tree8a76c9c38f4ba15728c03a6c08fe1b399d3cea9a /source4/ntvfs
parent039558fea8aed26b3c4b889dda92c77d1e2ef2f4 (diff)
downloadsamba-6f81fe151ae519490c528d7e1371288003a045f4.tar.gz
ntvfs: Remove now unused functions
These likely became unused once other untested parts of the NTVFS file server were removed in 2017e291a2da3d63741df82b480f32ee57f6a165, ee8b48df0f995611e0c8f8d6766e4882c5f4f4cd, 679227d6063074aabb986d78fab42b856db265e3, 31de52ed2efe598e7fab72d90a742d4f9e03c97e Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs_interface.c11
-rw-r--r--source4/ntvfs/ntvfs_util.c5
2 files changed, 0 insertions, 16 deletions
diff --git a/source4/ntvfs/ntvfs_interface.c b/source4/ntvfs/ntvfs_interface.c
index 005da0b8e2f..a9e3101a674 100644
--- a/source4/ntvfs/ntvfs_interface.c
+++ b/source4/ntvfs/ntvfs_interface.c
@@ -602,17 +602,6 @@ NTSTATUS ntvfs_next_trans(struct ntvfs_module_context *ntvfs,
return ntvfs->next->ops->trans_fn(ntvfs->next, req, trans);
}
-/* trans2 interface - only used by CIFS backend to prover complete passthru for testing */
-NTSTATUS ntvfs_next_trans2(struct ntvfs_module_context *ntvfs,
- struct ntvfs_request *req,
- struct smb_trans2 *trans2)
-{
- if (!ntvfs->next || !ntvfs->next->ops->trans2_fn) {
- return NT_STATUS_NOT_IMPLEMENTED;
- }
- return ntvfs->next->ops->trans2_fn(ntvfs->next, req, trans2);
-}
-
/*
change notify request
*/
diff --git a/source4/ntvfs/ntvfs_util.c b/source4/ntvfs/ntvfs_util.c
index 11631392552..2888ef48208 100644
--- a/source4/ntvfs/ntvfs_util.c
+++ b/source4/ntvfs/ntvfs_util.c
@@ -179,11 +179,6 @@ struct ntvfs_handle *ntvfs_handle_search_by_wire_key(struct ntvfs_module_context
return ntvfs->ctx->handles.search_by_wire_key(ntvfs->ctx->handles.private_data, req, key);
}
-DATA_BLOB ntvfs_handle_get_wire_key(struct ntvfs_handle *h, TALLOC_CTX *mem_ctx)
-{
- return h->ctx->handles.get_wire_key(h->ctx->handles.private_data, h, mem_ctx);
-}
-
NTSTATUS ntvfs_set_handle_callbacks(struct ntvfs_context *ntvfs,
NTSTATUS (*create_new)(void *private_data, struct ntvfs_request *req, struct ntvfs_handle **h),
NTSTATUS (*make_valid)(void *private_data, struct ntvfs_handle *h),