summaryrefslogtreecommitdiffstats
path: root/source4/cluster
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-04 00:12:03 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:58 +0100
commitfc2f06d31b6b52c5cbd83f34a34e5107649a5134 (patch)
tree5ecd763c0af159cfab5f5e0654aed621857f4361 /source4/cluster
parent785928dcecf12c9cf2250ff4e9868232d4faa88c (diff)
downloadsamba-fc2f06d31b6b52c5cbd83f34a34e5107649a5134.tar.gz
samba-fc2f06d31b6b52c5cbd83f34a34e5107649a5134.tar.xz
samba-fc2f06d31b6b52c5cbd83f34a34e5107649a5134.zip
r26274: Some syntax fixes, remove more global_loadparm instances.
(This used to be commit 3809113d86dbd35b906356a05bb481a1e2bfe4b7)
Diffstat (limited to 'source4/cluster')
-rw-r--r--source4/cluster/ctdb/ctdb_cluster.c4
-rw-r--r--source4/cluster/local.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/cluster/ctdb/ctdb_cluster.c b/source4/cluster/ctdb/ctdb_cluster.c
index cf24829a3e1..6bac3508052 100644
--- a/source4/cluster/ctdb/ctdb_cluster.c
+++ b/source4/cluster/ctdb/ctdb_cluster.c
@@ -79,8 +79,8 @@ static const char *ctdb_id_string(struct cluster_ops *ops,
correct operation of fcntl locks on the shared fileystem.
*/
static struct tdb_wrap *ctdb_tdb_tmp_open(struct cluster_ops *ops,
- TALLOC_CTX *mem_ctx, const char *dbname,
- int flags)
+ TALLOC_CTX *mem_ctx,
+ const char *dbname, int flags)
{
const char *dir = lp_parm_string(global_loadparm, NULL, "ctdb", "shared data");
char *path;
diff --git a/source4/cluster/local.c b/source4/cluster/local.c
index 110bc295eb2..c994596930a 100644
--- a/source4/cluster/local.c
+++ b/source4/cluster/local.c
@@ -55,8 +55,8 @@ static const char *local_id_string(struct cluster_ops *ops,
TDB_CLEAR_IF_FIRST as the tmp path is wiped at startup
*/
static struct tdb_wrap *local_tdb_tmp_open(struct cluster_ops *ops,
- TALLOC_CTX *mem_ctx, const char *dbname,
- int flags)
+ TALLOC_CTX *mem_ctx,
+ const char *dbname, int flags)
{
char *path = smbd_tmp_path(mem_ctx, global_loadparm, dbname);
struct tdb_wrap *w;