1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-daemon: Remove setting of debug_extra

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2016-11-25 14:50:01 +11:00 committed by Martin Schwenke
parent 3d6860b275
commit aaeef14ae5
4 changed files with 0 additions and 4 deletions

View File

@ -1853,7 +1853,6 @@ int ctdb_start_revoke_ro_record(struct ctdb_context *ctdb, struct ctdb_db_contex
if (rc->child == 0) { if (rc->child == 0) {
char c = 0; char c = 0;
close(rc->fd[0]); close(rc->fd[0]);
debug_extra = talloc_asprintf(NULL, "revokechild-%s:", ctdb_db->db_name);
prctl_set_comment("ctdb_revokechild"); prctl_set_comment("ctdb_revokechild");
if (switch_from_server_to_client(ctdb) != 0) { if (switch_from_server_to_client(ctdb) != 0) {

View File

@ -106,7 +106,6 @@ void ctdb_run_notification_script(struct ctdb_context *ctdb, const char *event)
int ret; int ret;
prctl_set_comment("ctdb_notification"); prctl_set_comment("ctdb_notification");
debug_extra = talloc_asprintf(NULL, "notification-%s:", event);
ret = ctdb_run_notification_script_child(ctdb, event); ret = ctdb_run_notification_script_child(ctdb, event);
if (ret != 0) { if (ret != 0) {
DEBUG(DEBUG_ERR,(__location__ " Notification script failed\n")); DEBUG(DEBUG_ERR,(__location__ " Notification script failed\n"));

View File

@ -3111,7 +3111,6 @@ int32_t ctdb_control_reload_public_ips(struct ctdb_context *ctdb, struct ctdb_re
signed char res = 0; signed char res = 0;
close(h->fd[0]); close(h->fd[0]);
debug_extra = talloc_asprintf(NULL, "reloadips:");
prctl_set_comment("ctdb_reloadips"); prctl_set_comment("ctdb_reloadips");
if (switch_from_server_to_client(ctdb) != 0) { if (switch_from_server_to_client(ctdb) != 0) {

View File

@ -268,7 +268,6 @@ static struct childwrite_handle *ctdb_childwrite(
close(result->fd[0]); close(result->fd[0]);
prctl_set_comment("ctdb_write_persistent"); prctl_set_comment("ctdb_write_persistent");
debug_extra = talloc_asprintf(NULL, "childwrite-%s:", ctdb_db->db_name);
ret = ctdb_persistent_store(state); ret = ctdb_persistent_store(state);
if (ret != 0) { if (ret != 0) {
DEBUG(DEBUG_ERR, (__location__ " Failed to write persistent data\n")); DEBUG(DEBUG_ERR, (__location__ " Failed to write persistent data\n"));