1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ctdbd_conn: Use ctdbd_init_connection in ctdbd_probe

We are only interested in ctdb connectability here.
ctdbd_messaging_connection() does a few more calls not required here

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2016-04-05 09:52:01 +02:00 committed by Ralph Boehme
parent 14beae7cc9
commit b1277acb44

View File

@ -1304,8 +1304,8 @@ int ctdbd_probe(const char *sockname, int timeout)
struct ctdbd_connection *conn = NULL;
int ret;
ret = ctdbd_messaging_connection(talloc_tos(), sockname, timeout,
&conn);
ret = ctdbd_init_connection(talloc_tos(), sockname, timeout,
&conn);
/*
* We only care if we can connect.