diff options
author | Michael Adam <obnox@samba.org> | 2013-04-03 14:03:32 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-04-17 12:44:08 +0200 |
commit | b1a6289b44c7afd1f53b02f2d7182f8654d06a13 (patch) | |
tree | 4a3114b17e3664ac716f71e84fc23a359246ddac /ctdb/server/ctdb_control.c | |
parent | ca1f3de8b45706ef673540b9a8ab8fb381cdbbba (diff) | |
download | samba-b1a6289b44c7afd1f53b02f2d7182f8654d06a13.tar.gz samba-b1a6289b44c7afd1f53b02f2d7182f8654d06a13.tar.xz samba-b1a6289b44c7afd1f53b02f2d7182f8654d06a13.zip |
ctdbd: unimplement the unused SET_DMASTER control
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 2e92deef5221ee651028ef87138b3113f1fece91)
Diffstat (limited to 'ctdb/server/ctdb_control.c')
-rw-r--r-- | ctdb/server/ctdb_control.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |