From 6f81fe151ae519490c528d7e1371288003a045f4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 25 Jun 2019 11:57:16 +1200 Subject: 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 Reviewed-by: Douglas Bagnall --- source4/ntvfs/ntvfs_interface.c | 11 ----------- source4/ntvfs/ntvfs_util.c | 5 ----- 2 files changed, 16 deletions(-) (limited to 'source4/ntvfs') 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), -- cgit v1.2.1