diff options
author | Martin Schwenke <martin@meltin.net> | 2013-11-12 15:16:49 +1100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-27 18:46:16 +0100 |
commit | 028fe930b65bd97261eaf689d54ffeb3ea0746db (patch) | |
tree | 3830facc3ff6c444f72cb32fc4b3849590e04b56 /ctdb/include/ctdb_private.h | |
parent | 4ab58a12a1895bb3be78e00045ff03ba65894ea5 (diff) | |
download | samba-028fe930b65bd97261eaf689d54ffeb3ea0746db.tar.gz samba-028fe930b65bd97261eaf689d54ffeb3ea0746db.tar.xz samba-028fe930b65bd97261eaf689d54ffeb3ea0746db.zip |
ctdb-recoverd: Fix backward compatibility for CTDB_SRVID_TAKEOVER_RUN
When running a mixed version cluster, compatibility with older
versions was was broken during recent refactorisation.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r-- | ctdb/include/ctdb_private.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index b4966b8807c..279fa2f44ad 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -24,11 +24,16 @@ #include <sys/socket.h> /* - * Structure to support SRVID requests and replies + * Structures to support SRVID requests and replies */ struct srvid_request { uint32_t pnn; uint64_t srvid; +}; + +struct srvid_request_data { + uint32_t pnn; + uint64_t srvid; uint32_t data; }; |