summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-06-28 10:28:15 +0200
committerStefan Metzmacher <metze@samba.org>2008-06-28 10:30:25 +0200
commit98014c5668e3269a059658e433d636213e2b06e6 (patch)
tree6b8f0576f8e785a83070461c74d4e5180a94203f /source4/ntvfs/posix/vfs_posix.c
parentc9d2570ce3dbca9b4933cbcfacd0242f41a08000 (diff)
downloadsamba-98014c5668e3269a059658e433d636213e2b06e6.tar.gz
pvfs: create a pvfs_acl subsystem
That means that the pvfs_acl implementations no longer register as ntvfs modules (which was wrong) metze (This used to be commit 89e90556ec57fce24faf0ed3d6fe262edd974b28)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r--source4/ntvfs/posix/vfs_posix.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c
index b5dd2703461..ce0da7033dc 100644
--- a/source4/ntvfs/posix/vfs_posix.c
+++ b/source4/ntvfs/posix/vfs_posix.c
@@ -176,6 +176,13 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs,
char *base_directory;
NTSTATUS status;
+ /*
+ * TODO: call this from ntvfs_posix_init()
+ * but currently we don't have a lp_ctx there
+ */
+ status = pvfs_acl_init(ntvfs->ctx->lp_ctx);
+ NT_STATUS_NOT_OK_RETURN(status);
+
pvfs = talloc_zero(ntvfs, struct pvfs_state);
NT_STATUS_HAVE_NO_MEMORY(pvfs);