summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r--source4/ntvfs/posix/vfs_posix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c
index 1990f77f82..7d532c3596 100644
--- a/source4/ntvfs/posix/vfs_posix.c
+++ b/source4/ntvfs/posix/vfs_posix.c
@@ -57,6 +57,7 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs,
struct pvfs_state *pvfs;
struct stat st;
char *base_directory;
+ NTSTATUS status;
pvfs = talloc_p(tcon, struct pvfs_state);
if (pvfs == NULL) {
@@ -84,6 +85,11 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs,
ntvfs->private_data = pvfs;
+ status = pvfs_mangle_init(pvfs);
+ if (!NT_STATUS_IS_OK(status)) {
+ return status;
+ }
+
pvfs_setup_options(pvfs);
return NT_STATUS_OK;