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:
parent
4bef374e31
commit
e225fbd38c
@ -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
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user