summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_private.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-06-28 14:04:18 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-07-02 12:59:08 +1000
commitc6914e3891b69fafaa59c54eeba2f4815588af01 (patch)
tree9a4a7e5ac2532863284a03c7af2ff518b8d7e151 /ctdb/include/ctdb_private.h
parentcf1d4bfde32353432866d3ebce09da8e403a7192 (diff)
downloadsamba-c6914e3891b69fafaa59c54eeba2f4815588af01.tar.gz
samba-c6914e3891b69fafaa59c54eeba2f4815588af01.tar.xz
samba-c6914e3891b69fafaa59c54eeba2f4815588af01.zip
banning: Make ctdb_local_node_got_banned() a void function
When this function is called, we are already committed to banning and there is no point in failing this function. In case, freezing of databases fails, it will be fixed from recovery daemon. (This used to be ctdb commit bb178338658b4ae32382a1f62f7c21cee1d4878f)
Diffstat (limited to 'ctdb/include/ctdb_private.h')
-rw-r--r--ctdb/include/ctdb_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 365eb3ecdde..05109acb6d2 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -1440,7 +1440,7 @@ int ctdb_vacuum_init(struct ctdb_db_context *ctdb_db);
int32_t ctdb_control_enable_script(struct ctdb_context *ctdb, TDB_DATA indata);
int32_t ctdb_control_disable_script(struct ctdb_context *ctdb, TDB_DATA indata);
-int32_t ctdb_local_node_got_banned(struct ctdb_context *ctdb);
+void ctdb_local_node_got_banned(struct ctdb_context *ctdb);
int32_t ctdb_control_set_ban_state(struct ctdb_context *ctdb, TDB_DATA indata);
int32_t ctdb_control_get_ban_state(struct ctdb_context *ctdb, TDB_DATA *outdata);
int32_t ctdb_control_set_db_priority(struct ctdb_context *ctdb, TDB_DATA indata);