summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-03 23:32:59 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:49 +0100
commit0184e5ef2d4ebd19e1617ca8daaf2102b8e5a9f0 (patch)
tree4537bee59d492fb68f89a4f7e27ed8d014cbb5fb /source4/cluster/ctdb
parentb83a7a135f3247f553cb04173646b2d871b97235 (diff)
downloadsamba-0184e5ef2d4ebd19e1617ca8daaf2102b8e5a9f0.tar.gz
samba-0184e5ef2d4ebd19e1617ca8daaf2102b8e5a9f0.tar.bz2
samba-0184e5ef2d4ebd19e1617ca8daaf2102b8e5a9f0.zip
r26269: Fix a couple more references to global_loadparm.
(This used to be commit 1cb849dfba21b9b5d00b20ba8201f0e142bfeb07)
Diffstat (limited to 'source4/cluster/ctdb')
-rw-r--r--source4/cluster/ctdb/ctdb_cluster.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/cluster/ctdb/ctdb_cluster.c b/source4/cluster/ctdb/ctdb_cluster.c
index e4a9742401..cf24829a3e 100644
--- a/source4/cluster/ctdb/ctdb_cluster.c
+++ b/source4/cluster/ctdb/ctdb_cluster.c
@@ -197,12 +197,13 @@ static struct cluster_ops cluster_ctdb_ops = {
};
/* initialise ctdb */
-void cluster_ctdb_init(struct event_context *ev, const char *model)
+void cluster_ctdb_init(struct loadparm_context *lp_ctx,
+ struct event_context *ev, const char *model)
{
struct cluster_state *state;
int ret;
- if (!lp_parm_bool(global_loadparm, NULL, "ctdb", "enable", false)) {
+ if (!lp_parm_bool(lp_ctx, NULL, "ctdb", "enable", false)) {
return;
}