summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2016-06-20 20:53:58 +1000
committerAmitay Isaacs <amitay@samba.org>2016-07-04 15:42:25 +0200
commitc09cf571b7a9a4584be079d7989575f21b1fb915 (patch)
treec7e37c1d18511c7a8ef3f7ef8b695cab06a8c2e1 /ctdb/include
parent55f13b74bf4ee460b153d062acbdd758ce58ed1a (diff)
downloadsamba-c09cf571b7a9a4584be079d7989575f21b1fb915.tar.gz
ctdb-ipalloc: Don't build a global IP tree
It isn't used outside this function, so just use a local variable. This makes create_merged_ip_list() independent of the CTDB context. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 57a045a9e9b..f7982de10fd 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -364,9 +364,6 @@ struct ctdb_context {
/* mapping from pid to ctdb_client * */
struct ctdb_client_pid_list *client_pids;
- /* used in the recovery daemon to remember the ip allocation */
- struct trbt_tree *ip_tree;
-
/* Used to defer db attach requests while in recovery mode */
struct ctdb_deferred_attach_context *deferred_attach;