diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 16:54:04 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-05 11:06:23 +0200 |
commit | 300667e4a9f02104fc8759dd846ea41f400441bf (patch) | |
tree | d0795152861ba866c49778e59fc5f4a48b98e2cc /source3/smbd | |
parent | 849f72b254ee52501ba46e8419938d3bf5e31900 (diff) | |
download | samba-300667e4a9f02104fc8759dd846ea41f400441bf.tar.gz samba-300667e4a9f02104fc8759dd846ea41f400441bf.tar.bz2 samba-300667e4a9f02104fc8759dd846ea41f400441bf.zip |
s3: Pass procid_self() explicitly to messaging_ctdbd_connection()
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index b0bae927b9..13fec92ea5 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -3060,7 +3060,7 @@ void smbd_process(void) NTSTATUS status; status = ctdbd_register_ips( - messaging_ctdbd_connection(), + messaging_ctdbd_connection(procid_self()), &srv, &clnt, release_ip, NULL); if (!NT_STATUS_IS_OK(status)) { diff --git a/source3/smbd/server.c b/source3/smbd/server.c index b870fa7b9d..3660abb659 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -690,7 +690,8 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, #ifdef CLUSTER_SUPPORT if (lp_clustering()) { - ctdbd_register_reconfigure(messaging_ctdbd_connection()); + ctdbd_register_reconfigure( + messaging_ctdbd_connection(procid_self())); } #endif |