diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 16:28:13 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-04 17:29:23 +0200 |
commit | 7f0e6df88345c1154f19fd263966ad20c73f5d52 (patch) | |
tree | 683ecaec64b2ed779300d038a9e70bdc7dbf8f63 /source3/lib/util.c | |
parent | 5a3c64668a33fc3fa8f87a78d06fa040eed9f8f8 (diff) | |
download | samba-7f0e6df88345c1154f19fd263966ad20c73f5d52.tar.gz samba-7f0e6df88345c1154f19fd263966ad20c73f5d52.tar.bz2 samba-7f0e6df88345c1154f19fd263966ad20c73f5d52.zip |
s3: Pass the new server_id through reinit_after_fork
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 1467c5445d..2a4d0501fe 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -873,6 +873,7 @@ void smb_msleep(unsigned int t) NTSTATUS reinit_after_fork(struct messaging_context *msg_ctx, struct event_context *ev_ctx, + struct server_id id, bool parent_longlived) { NTSTATUS status = NT_STATUS_OK; @@ -899,7 +900,7 @@ NTSTATUS reinit_after_fork(struct messaging_context *msg_ctx, * For clustering, we need to re-init our ctdbd connection after the * fork */ - status = messaging_reinit(msg_ctx, procid_self()); + status = messaging_reinit(msg_ctx, id); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("messaging_reinit() failed: %s\n", nt_errstr(status))); |