ctdb-daemon: Move VNN lookup out of ctdb_remove_tcp_connection()
authorMartin Schwenke <martin@meltin.net>
Thu, 21 May 2015 12:42:13 +0000 (22:42 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Dec 2015 08:17:17 +0000 (09:17 +0100)
commit4261d6e70ad2f03d80ae263a04216e0728139520
tree00b5550e814357d894b53dbc371b11a0e93631b9
parent473f1a77e1791cbe3a079ba7b20dd85a1797ee61
ctdb-daemon: Move VNN lookup out of ctdb_remove_tcp_connection()

In a subsequent commit ctdb_takeover_client_destructor_hook() needs to
know the VNN.  So just have both callers of
ctdb_remove_tcp_connection() do the lookup and pass in the VNN.

This should cause no change in behaviour.

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