summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ntvfs_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs/ntvfs_base.c')
-rw-r--r--source4/ntvfs/ntvfs_base.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c
index c168467eae..136ef14e4c 100644
--- a/source4/ntvfs/ntvfs_base.c
+++ b/source4/ntvfs/ntvfs_base.c
@@ -45,7 +45,7 @@ static int num_backends;
The 'type' is used to specify whether this is for a disk, printer or IPC$ share
*/
-static NTSTATUS ntvfs_register(const void *_ops)
+NTSTATUS ntvfs_register(const void *_ops)
{
const struct ntvfs_ops *ops = _ops;
struct ntvfs_ops *new_ops;
@@ -117,25 +117,6 @@ const struct ntvfs_critical_sizes *ntvfs_interface_version(void)
/*
- initialise the NTVFS subsystem
-*/
-NTSTATUS ntvfs_init(void)
-{
- NTSTATUS status;
-
- status = register_subsystem("ntvfs", ntvfs_register);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
- ntvfs_init_static_modules;
-
- DEBUG(3,("NTVFS subsystem version %d initialised\n", NTVFS_INTERFACE_VERSION));
- return status;
-}
-
-
-/*
initialise a connection structure to point at a NTVFS backend
*/
NTSTATUS ntvfs_init_connection(struct smbsrv_request *req, enum ntvfs_type type)