From: Amitay Isaacs Date: Thu, 21 Jul 2016 04:17:02 +0000 (+1000) Subject: ctdb-daemon: Drop the implementation of THAW control X-Git-Tag: tdb-1.3.10~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28b2a6391b3adecd7a8fd47662e7ea6000df306f;p=thirdparty%2Fsamba.git ctdb-daemon: Drop the implementation of THAW control This control was used by the older implementation of tool to restore a database from backup. In the new implemenation of tool, it freezes and thaws only the database being restored. Signed-off-by: Amitay Isaacs Reviewed-by: Andrew Bartlett Reviewed-by: Martin Schwenke --- diff --git a/ctdb/server/ctdb_control.c b/ctdb/server/ctdb_control.c index 92022cabfc9..ea68bbfade4 100644 --- a/ctdb/server/ctdb_control.c +++ b/ctdb/server/ctdb_control.c @@ -318,8 +318,7 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb, return ctdb_control_freeze(ctdb, c, async_reply); case CTDB_CONTROL_THAW: - CHECK_CONTROL_DATA_SIZE(0); - return ctdb_control_thaw(ctdb, true); + return control_not_implemented("THAW", NULL); case CTDB_CONTROL_SET_RECMODE: CHECK_CONTROL_DATA_SIZE(sizeof(uint32_t));