1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

ctdb-protocol: Drop unused CTDB_SRVID_TAKEOVER_RUN_RESPONSE

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2016-05-04 16:51:05 +10:00 committed by Martin Schwenke
parent 4bef374e31
commit e225fbd38c
2 changed files with 0 additions and 5 deletions

View File

@ -178,9 +178,6 @@ struct ctdb_call {
/* SRVID to inform recovery daemon to disable the public ip checks */ /* SRVID to inform recovery daemon to disable the public ip checks */
#define CTDB_SRVID_DISABLE_IP_CHECK 0xFC00000000000000LL #define CTDB_SRVID_DISABLE_IP_CHECK 0xFC00000000000000LL
/* SRVID to inform recovery daemon of ipreallocate resposnes from ctdbd */
#define CTDB_SRVID_TAKEOVER_RUN_RESPONSE 0xFD00000000000000LL
/* A range of ports reserved for registering a PID (top 8 bits) /* A range of ports reserved for registering a PID (top 8 bits)
* All ports matching the 8 top bits are reserved for exclusive use by * All ports matching the 8 top bits are reserved for exclusive use by
* registering a SRVID that matches the process-id of the requesting process * registering a SRVID that matches the process-id of the requesting process

View File

@ -320,8 +320,6 @@ static void ctdb_srvid_print(uint64_t srvid, FILE *fp)
fprintf(fp, "DISABLE_RECOVERIES"); fprintf(fp, "DISABLE_RECOVERIES");
} else if (srvid == CTDB_SRVID_DISABLE_IP_CHECK) { } else if (srvid == CTDB_SRVID_DISABLE_IP_CHECK) {
fprintf(fp, "DISABLE_IP_CHECK"); fprintf(fp, "DISABLE_IP_CHECK");
} else if (srvid == CTDB_SRVID_TAKEOVER_RUN_RESPONSE) {
fprintf(fp, "TAKEOVER_RUN_RESPONSE");
} else if ((srvid & prefix) == CTDB_SRVID_SAMBA_RANGE) { } else if ((srvid & prefix) == CTDB_SRVID_SAMBA_RANGE) {
if (srvid == CTDB_SRVID_SAMBA_NOTIFY) { if (srvid == CTDB_SRVID_SAMBA_NOTIFY) {
fprintf(fp, "SAMBA_NOTIFY"); fprintf(fp, "SAMBA_NOTIFY");