git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a04c47b
)
s3:ctdb: pass the ctdb control flags to the ctdb daemon when sending the control
author
Michael Adam
<obnox@samba.org>
Tue, 8 Mar 2011 15:26:34 +0000
(16:26 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 11 Mar 2011 15:23:44 +0000
(16:23 +0100)
The only flag that is currently used is the NOREPLY flag to indicate that
the client expects no reply packet. This needs to get passed down to the
ctdb daemon so that it really does not send a reply.
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index 60174d7d2308b0f7b113399f82ed7d3261c50b41..1e0024199a79df6676446d6f6242d7a98ca52041 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-814,6
+814,7
@@
static NTSTATUS ctdbd_control(struct ctdbd_connection *conn,
req.opcode = opcode;
req.srvid = srvid;
req.datalen = data.dsize;
+ req.flags = flags;
DEBUG(10, ("ctdbd_control: Sending ctdb packet\n"));
ctdb_packet_dump(&req.hdr);