From b1277acb44a51d92af0e7d7e59856606b8806192 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 5 Apr 2016 09:52:01 +0200 Subject: [PATCH] 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 Reviewed-by: Ralph Boehme --- source3/lib/ctdbd_conn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index bb8ab0a6678..3cec2535f72 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -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.