diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-04 20:50:11 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-05 11:06:32 +0200 |
commit | 9e4ae600b700406fdfb797b0217ec2b7503bfc59 (patch) | |
tree | 37a9b96a69d5ee56c0a62fb6e8c1f8105bed81db /source3 | |
parent | 1832e38425b12841d67aa6194bd4ae53697077ab (diff) | |
download | samba-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.c | 12 |
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); |