client: fix ctdb_control() to be able to cope with CTDB_CTRL_FLAG_NOREPLY
authorMichael Adam <obnox@samba.org>
Mon, 22 Apr 2013 14:21:02 +0000 (10:21 -0400)
committerMichael Adam <obnox@samba.org>
Fri, 26 Apr 2013 14:02:10 +0000 (16:02 +0200)
commit2b0d7cb9a7dd0c154339cea71e8a6e23b8cc8fea
tree041f38f72e751dc7e13644146319fe0484aecf31
parent152c23b3891a90e7a608922f41f23a9f2ca55df2
client: fix ctdb_control() to be able to cope with CTDB_CTRL_FLAG_NOREPLY

This was apparently not used before in this context, and the bug hence
not detected. It becomes necessary when ctdb_local_schedule_for_deletion()
is called from a client ctdbd (the vacuuming child), hence needs to send
the SCHEDULE_FOR_DELETION control to its parent.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit e72a5e11845fe445baaee4730bb0bea8588ee9e3)
client/ctdb_client.c