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)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 24 Apr 2013 08:46:22 +0000 (18:46 +1000)
commit885d6312fab51384dd2219fd266e5ea9b15fe628
treebe36162e165575d023bc4b8a35c771a28a80ba95
parent016522fe29ea6cbca989e87cde2e44793aa3e46b
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>
(This used to be ctdb commit e72a5e11845fe445baaee4730bb0bea8588ee9e3)
ctdb/client/ctdb_client.c