From b1a6289b44c7afd1f53b02f2d7182f8654d06a13 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 3 Apr 2013 14:03:32 +0200 Subject: ctdbd: unimplement the unused SET_DMASTER control Signed-off-by: Michael Adam Reviewed-by: Amitay Isaacs (This used to be ctdb commit 2e92deef5221ee651028ef87138b3113f1fece91) --- ctdb/server/ctdb_control.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ctdb/server/ctdb_control.c') diff --git a/ctdb/server/ctdb_control.c b/ctdb/server/ctdb_control.c index b567865ca9..99b3dc4314 100644 --- a/ctdb/server/ctdb_control.c +++ b/ctdb/server/ctdb_control.c @@ -169,7 +169,9 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb, case CTDB_CONTROL_SET_DMASTER: CHECK_CONTROL_DATA_SIZE(sizeof(struct ctdb_control_set_dmaster)); - return ctdb_control_set_dmaster(ctdb, indata); + DEBUG(DEBUG_ERR, ("The SET_DMASTER control is not implemented " + "any more.\n")); + return -1; case CTDB_CONTROL_PUSH_DB: return ctdb_control_push_db(ctdb, indata); -- cgit