From 8d803d5a0a9a7815c4e6fcbd9b7c652fb85e94dd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 8 May 2011 18:28:17 +0200 Subject: s4-cluster Use task_id instead of id2 to clarify server_id structure This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell --- source4/cluster/cluster.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/cluster/cluster.h') diff --git a/source4/cluster/cluster.h b/source4/cluster/cluster.h index 5ed9055d7b..df12c8bb27 100644 --- a/source4/cluster/cluster.h +++ b/source4/cluster/cluster.h @@ -28,7 +28,7 @@ test for same cluster id */ #define cluster_id_equal(id_1, id_2) ((id_1)->pid == (id_2)->pid \ - && (id_1)->id2 == (id_2)->id2 \ + && (id_1)->task_id == (id_2)->task_id \ && (id_1)->vnn == (id_2)->vnn) /* @@ -40,7 +40,7 @@ struct imessaging_context; typedef void (*cluster_message_fn_t)(struct imessaging_context *, DATA_BLOB); /* prototypes */ -struct server_id cluster_id(uint64_t id, uint32_t id2); +struct server_id cluster_id(uint64_t id, uint32_t task_id); char *cluster_id_string(TALLOC_CTX *mem_ctx, struct server_id id); struct tdb_wrap *cluster_tdb_tmp_open(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, const char *dbname, int flags); void *cluster_backend_handle(void); -- cgit