diff options
author | Martin Schwenke <martin@meltin.net> | 2013-08-16 20:10:10 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-09-19 12:54:30 +1000 |
commit | 4c3f8dc3bbafeaedbbc60e83aacb36df20337ae4 (patch) | |
tree | 91c26b088fc06f785f1cda143371d5d40ee655e2 /ctdb/include/ctdb_private.h | |
parent | c503997746d74c50a6f1e92ad1210fb9c536149f (diff) | |
download | samba-4c3f8dc3bbafeaedbbc60e83aacb36df20337ae4.tar.gz samba-4c3f8dc3bbafeaedbbc60e83aacb36df20337ae4.tar.xz samba-4c3f8dc3bbafeaedbbc60e83aacb36df20337ae4.zip |
recoverd: Make the SRVID request structure generic
No need for a separate one for each SRVID.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit d9c22b04d5aa7938a3965bd3144568664eb772ce)
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r-- | ctdb/include/ctdb_private.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 987502ef008..d300d896551 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -24,19 +24,12 @@ #include <sys/socket.h> /* - recovery daemon memdump reply address + * Structure to support SRVID requests and replies */ -struct rd_memdump_reply { - uint32_t pnn; - uint64_t srvid; -}; - -/* - description for a TAKEOVER_RUN message reply address - */ -struct takeover_run_reply { +struct srvid_request { uint32_t pnn; uint64_t srvid; + uint32_t data; }; /* |