From 622ccd09f9812e965d4e3be33daad2176c0ff9aa Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Mon, 1 Jul 2013 16:28:04 +1000 Subject: 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 (This used to be ctdb commit 46efe7a886f8c4c56f19536adc98a73c22db906a) --- ctdb/include/ctdb_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctdb/include') 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); -- cgit