diff options
author | Martin Schwenke <martin@meltin.net> | 2019-11-12 12:12:46 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2019-11-14 02:20:46 +0000 |
commit | 750f3938e4fcd6743954db6b1132751a90ee6107 (patch) | |
tree | 5d1a4ce2c3cd4eba9e0251c683d53b820fa02026 /ctdb/ib | |
parent | 53f8492caafa8556d0c2d3f272d08ce5ce098c25 (diff) | |
download | samba-750f3938e4fcd6743954db6b1132751a90ee6107.tar.gz |
ctdb-daemon: Rename ctdb_context private_data to transport_data
This gives a casual reader a useful clue.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/ib')
-rw-r--r-- | ctdb/ib/ibw_ctdb_init.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ctdb/ib/ibw_ctdb_init.c b/ctdb/ib/ibw_ctdb_init.c index 6fdb0d887cf..f9d00c60605 100644 --- a/ctdb/ib/ibw_ctdb_init.c +++ b/ctdb/ib/ibw_ctdb_init.c @@ -40,7 +40,8 @@ static int ctdb_ibw_listen(struct ctdb_context *ctdb, int backlog) { - struct ibw_ctx *ictx = talloc_get_type(ctdb->private_data, struct ibw_ctx); + struct ibw_ctx *ictx = talloc_get_type(ctdb->transport_data, + struct ibw_ctx); assert(ictx!=NULL); @@ -62,7 +63,8 @@ static int ctdb_ibw_listen(struct ctdb_context *ctdb, int backlog) */ static int ctdb_ibw_add_node(struct ctdb_node *node) { - struct ibw_ctx *ictx = talloc_get_type(node->ctdb->private_data, struct ibw_ctx); + struct ibw_ctx *ictx = talloc_get_type(node->ctdb->transport_data, + struct ibw_ctx); struct ctdb_ibw_node *cn = talloc_zero(node, struct ctdb_ibw_node); assert(cn!=NULL); @@ -246,7 +248,7 @@ int ctdb_ibw_init(struct ctdb_context *ctdb) } ctdb->methods = &ctdb_ibw_methods; - ctdb->private_data = ictx; + ctdb->transport_data = ictx; DEBUG(DEBUG_DEBUG, ("ctdb_ibw_init succeeded.\n")); return 0; |