1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

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>
This commit is contained in:
Andrew Bartlett 2019-06-25 11:57:16 +12:00
parent 039558fea8
commit 6f81fe151a
2 changed files with 0 additions and 16 deletions

View File

@ -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
*/

View File

@ -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),