From: Martin Schwenke Date: Mon, 6 Jul 2026 11:14:23 +0000 (+1000) Subject: ctdb-tcp: Use path_lockdir_append() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08a76216157f0cae48e8d1109a4eca7a6e1ff99b;p=thirdparty%2Fsamba.git ctdb-tcp: Use path_lockdir_append() Signed-off-by: Martin Schwenke Reviewed-by: Anoop C S --- diff --git a/ctdb/tcp/tcp_connect.c b/ctdb/tcp/tcp_connect.c index e508e9aba1a..981e85b942c 100644 --- a/ctdb/tcp/tcp_connect.c +++ b/ctdb/tcp/tcp_connect.c @@ -511,7 +511,7 @@ static int ctdb_tcp_listen_automatic(struct ctdb_context *ctdb) * atomic. The SO_REUSEADDR setsockopt only prevents double * binds if the first socket is in LISTEN state. */ - lock_path = path_rundir_append(ctdb, ".socket_lock"); + lock_path = path_lockdir_append(ctdb, "tcp_listen_automatic.lock"); if (lock_path == NULL) { DBG_ERR("Memory allocation error\n"); return -1;