ctdbd_conn: split ctdbd_init_connection()
commit1184931001be983b858f44468aeb083140d924ad
authorRalph Boehme <slow@samba.org>
Sat, 9 Jul 2016 06:48:49 +0000 (9 08:48 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 11 Jul 2016 18:05:06 +0000 (11 20:05 +0200)
treea9d0483b3b9255d438d71d1d2125a1ea8e8807e0
parent2f95ada1494b19eec02e86eaf3f9270fa8b08318
ctdbd_conn: split ctdbd_init_connection()

Split ctdbd_init_connection() into an internal function that does the
connection setup and only keep the conn object allocation in
ctdbd_init_connection().

This is in preperation of adding ctdbd_reinit_connection() which will
use the new internal function as well.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/lib/ctdbd_conn.c