ctdb-takeover: Allocate IP list unconditionally in send function
authorMartin Schwenke <martin@meltin.net>
Thu, 23 Feb 2017 05:10:33 +0000 (16:10 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 24 Feb 2017 06:47:11 +0000 (07:47 +0100)
commit42bcfa6a51cd829304742fd3aa70d8958c5b10fe
tree2496c056392e81b5742cae282abbcca5d4f30f8f
parentfdc0dbee29f8cb81dfcb1c995df6468469fd75ce
ctdb-takeover: Allocate IP list unconditionally in send function

This simplifies error handling and make failures less likely after
send.

This also means that num_nodes is not required in the state.

Also quietly remove unused ev and client from state.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover_helper.c