summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 20:50:11 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 11:06:32 +0200
commit9e4ae600b700406fdfb797b0217ec2b7503bfc59 (patch)
tree37a9b96a69d5ee56c0a62fb6e8c1f8105bed81db /source3
parent1832e38425b12841d67aa6194bd4ae53697077ab (diff)
downloadsamba-9e4ae600b700406fdfb797b0217ec2b7503bfc59.tar.gz
samba-9e4ae600b700406fdfb797b0217ec2b7503bfc59.tar.bz2
samba-9e4ae600b700406fdfb797b0217ec2b7503bfc59.zip
s3: Remove procid_self() from ctdb_read_req() and ctdb_handle_message()
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/ctdbd_conn.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 9a30d1fdc2..8dba3b2d77 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -368,9 +368,11 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid,
(msg->srvid == CTDB_SRVID_RECONFIGURE)
? "cluster reconfigure" : "SAMBA_NOTIFY"));
- messaging_send(conn->msg_ctx, procid_self(),
+ messaging_send(conn->msg_ctx,
+ messaging_server_id(conn->msg_ctx),
MSG_SMB_BRL_VALIDATE, &data_blob_null);
- messaging_send(conn->msg_ctx, procid_self(),
+ messaging_send(conn->msg_ctx,
+ messaging_server_id(conn->msg_ctx),
MSG_DBWRAP_G_LOCK_RETRY,
&data_blob_null);
TALLOC_FREE(hdr);
@@ -564,10 +566,12 @@ static NTSTATUS ctdb_handle_message(uint8_t *buf, size_t length,
* family has passed away (SAMBA_NOTIFY), we need to
* clean the brl database
*/
- messaging_send(conn->msg_ctx, procid_self(),
+ messaging_send(conn->msg_ctx,
+ messaging_server_id(conn->msg_ctx),
MSG_SMB_BRL_VALIDATE, &data_blob_null);
- messaging_send(conn->msg_ctx, procid_self(),
+ messaging_send(conn->msg_ctx,
+ messaging_server_id(conn->msg_ctx),
MSG_DBWRAP_G_LOCK_RETRY,
&data_blob_null);