summaryrefslogtreecommitdiff
path: root/source4/cluster
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-10 18:41:38 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:13 +0100
commit7f0e8252e76b506c8164c14819ca491752bb2526 (patch)
treeab37e6f1f673e42e46d1413b65e6ad2d56dcfc82 /source4/cluster
parenteede6b87e1dac018035bb68a675f80d6b25c20e3 (diff)
downloadsamba-7f0e8252e76b506c8164c14819ca491752bb2526.tar.gz
samba-7f0e8252e76b506c8164c14819ca491752bb2526.tar.bz2
samba-7f0e8252e76b506c8164c14819ca491752bb2526.zip
r26379: Remove more global_loadparm instances.
(This used to be commit b6f66eb5e00ed01029fa81f408d6154ab01e74e7)
Diffstat (limited to 'source4/cluster')
-rw-r--r--source4/cluster/ctdb/opendb_ctdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/ctdb/opendb_ctdb.c b/source4/cluster/ctdb/opendb_ctdb.c
index c8b673e74d..bb8ae26d3d 100644
--- a/source4/cluster/ctdb/opendb_ctdb.c
+++ b/source4/cluster/ctdb/opendb_ctdb.c
@@ -97,7 +97,7 @@ static struct odb_context *odb_ctdb_init(TALLOC_CTX *mem_ctx,
odb->ntvfs_ctx = ntvfs_ctx;
/* leave oplocks disabled by default until the code is working */
- odb->oplocks = lp_parm_bool(global_loadparm, NULL, "opendb", "oplocks", false);
+ odb->oplocks = lp_parm_bool(ntvfs_ctx->lp_ctx, NULL, "opendb", "oplocks", false);
return odb;
}