ctdb-daemon: Use release_ip_post() when releasing all IP addresses
authorMartin Schwenke <martin@meltin.net>
Thu, 11 Aug 2016 04:07:44 +0000 (14:07 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 17 Aug 2016 21:00:26 +0000 (23:00 +0200)
commitd2a91394f55a2e0152bf470dac2608618db13b1f
tree4c79722fa1cc025b8e45b300e6f48e26745e7e45
parent46c5136e4e4bd291cbb96395374c9b133f5d8ad8
ctdb-daemon: Use release_ip_post() when releasing all IP addresses

This has the advantage of using common code.  Also, if there was
previously a failed attempt to release the IP address as part of a
delete, then this will finish processing the delete.

Extra care needs to be taken when a VNN is actually deleted.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12158

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