diff options
| author | Amitay Isaacs <amitay@gmail.com> | 2013-07-01 16:28:04 +1000 |
|---|---|---|
| committer | Amitay Isaacs <amitay@gmail.com> | 2013-07-02 12:59:08 +1000 |
| commit | 622ccd09f9812e965d4e3be33daad2176c0ff9aa (patch) | |
| tree | ed80bcab2b208592d84f648dcef92cedc262d04f /ctdb/include | |
| parent | cf17247d312a2d5a6cb191c2db7e50bd3bf5bd6f (diff) | |
freeze: Make ctdb_start_freeze() a void function
If this function fails due to memory errors, there is no way to recover.
The best course of action is to abort.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 46efe7a886f8c4c56f19536adc98a73c22db906a)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index bf5b5ecacc..365eb3ecdd 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -1285,7 +1285,7 @@ int ctdb_ctrl_get_all_tunables(struct ctdb_context *ctdb, uint32_t destnode, struct ctdb_tunable *tunables); -int ctdb_start_freeze(struct ctdb_context *ctdb, uint32_t priority); +void ctdb_start_freeze(struct ctdb_context *ctdb, uint32_t priority); bool parse_ip_mask(const char *s, const char *iface, ctdb_sock_addr *addr, unsigned *mask); bool parse_ip_port(const char *s, ctdb_sock_addr *addr); |
