ctdb-daemon: Use release_ip_post() when releasing all IP addresses
commit65445d55038bb3b6ded667fdad34d4e69bc75fe1
authorMartin Schwenke <martin@meltin.net>
Thu, 11 Aug 2016 04:07:44 +0000 (11 14:07 +1000)
committerStefan Metzmacher <metze@samba.org>
Wed, 24 Aug 2016 09:42:30 +0000 (24 11:42 +0200)
tree97c2d465774a2990665444bcd6bfd6f493ec2059
parent5fa6a1dfb009698c6991d44c73cb98972a26bfe7
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>
(cherry picked from commit d2a91394f55a2e0152bf470dac2608618db13b1f)
ctdb/server/ctdb_takeover.c