ctdb-daemon: Move ctdb_init() to the only place it is used
authorMartin Schwenke <martin@meltin.net>
Wed, 18 Apr 2018 00:36:05 +0000 (10:36 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 1 May 2018 11:31:19 +0000 (13:31 +0200)
commit4eea531416ab0516f82bffa4f35345d8d0785d36
tree540f8c04ce934c447c130389008618c5443bf12e
parentf4fe768ca3518873b24e74ba4857c870fac1e46d
ctdb-daemon: Move ctdb_init() to the only place it is used

This used to be used by client code but not anymore, so move it to
where it is used.  Drop the comment because it is wrong.  Modernise
logging.

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