summaryrefslogtreecommitdiff
path: root/source4/param/share_classic.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-13 22:46:55 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:50:08 +0100
commite31abef15f7696cf39e9e81307f153da93568e02 (patch)
tree1cc4d50c7b25b8471399d4f0b971145e13519f2f /source4/param/share_classic.c
parent27b21a386ebeed66dd804a8b2e2256b739e32543 (diff)
downloadsamba-e31abef15f7696cf39e9e81307f153da93568e02.tar.gz
r26440: Remove more uses of global_loadparm.
(This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
Diffstat (limited to 'source4/param/share_classic.c')
-rw-r--r--source4/param/share_classic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/param/share_classic.c b/source4/param/share_classic.c
index 4a7fbcb263a..b517c9c4c25 100644
--- a/source4/param/share_classic.c
+++ b/source4/param/share_classic.c
@@ -25,6 +25,7 @@
static NTSTATUS sclassic_init(TALLOC_CTX *mem_ctx,
const struct share_ops *ops,
+ struct loadparm_context *lp_ctx,
struct share_context **ctx)
{
*ctx = talloc(mem_ctx, struct share_context);
@@ -34,7 +35,7 @@ static NTSTATUS sclassic_init(TALLOC_CTX *mem_ctx,
}
(*ctx)->ops = ops;
- (*ctx)->priv_data = global_loadparm;
+ (*ctx)->priv_data = lp_ctx;
return NT_STATUS_OK;
}