s3:ctdb: pass the ctdb control flags to the ctdb daemon when sending the control
authorMichael Adam <obnox@samba.org>
Tue, 8 Mar 2011 15:26:34 +0000 (16:26 +0100)
committerMichael 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

index 60174d7d2308b0f7b113399f82ed7d3261c50b41..1e0024199a79df6676446d6f6242d7a98ca52041 100644 (file)
@@ -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);