summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/ctdb_cluster.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-02-09 01:52:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:55 -0500
commit8de4c33d8f089f2f47817278f8781f194da898d0 (patch)
tree9072b0efe72d2a17ec4b86cab9969c338419227a /source4/cluster/ctdb/ctdb_cluster.c
parent728ff99fe3b06794937f5398bb2512f0b03e7186 (diff)
downloadsamba-8de4c33d8f089f2f47817278f8781f194da898d0.tar.gz
samba-8de4c33d8f089f2f47817278f8781f194da898d0.tar.bz2
samba-8de4c33d8f089f2f47817278f8781f194da898d0.zip
r21256: - msg_type is not needed in the cluster messaging API
- merge ctdb_get_num_nodes() from bzr tree (This used to be commit 3df7527aedeba7ce2f4a6ca2d3b7167f58c6b68a)
Diffstat (limited to 'source4/cluster/ctdb/ctdb_cluster.c')
-rw-r--r--source4/cluster/ctdb/ctdb_cluster.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/cluster/ctdb/ctdb_cluster.c b/source4/cluster/ctdb/ctdb_cluster.c
index 95adbafadf..917a56d2b8 100644
--- a/source4/cluster/ctdb/ctdb_cluster.c
+++ b/source4/cluster/ctdb/ctdb_cluster.c
@@ -159,8 +159,7 @@ static NTSTATUS ctdb_message_init(struct cluster_ops *ops,
send a ctdb message to another node
*/
static NTSTATUS ctdb_message_send(struct cluster_ops *ops,
- struct server_id server, uint32_t msg_type,
- DATA_BLOB *data)
+ struct server_id server, DATA_BLOB *data)
{
struct cluster_state *state = ops->private;
struct ctdb_context *ctdb = state->ctdb;
@@ -170,7 +169,7 @@ static NTSTATUS ctdb_message_send(struct cluster_ops *ops,
tdata.dptr = data->data;
tdata.dsize = data->length;
- ret = ctdb_send_message(ctdb, server.node, server.id, msg_type, tdata);
+ ret = ctdb_send_message(ctdb, server.node, server.id, tdata);
if (ret != 0) {
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}