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

ctdb/daemon: reloadips must register state of asynchronous controls

Otherwise ctdb_client_async_wait() is a no-op.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2014-01-22 16:02:46 +11:00 committed by Amitay Isaacs
parent 05c1fe5055
commit e5778cc172

View File

@ -4458,6 +4458,7 @@ static int ctdb_reloadips_child(struct ctdb_context *ctdb)
goto failed;
}
ctdb_client_async_add(async_data, state);
}
}
@ -4534,6 +4535,8 @@ static int ctdb_reloadips_child(struct ctdb_context *ctdb)
" failed sending CTDB_CONTROL_ADD_PUBLIC_IP\n"));
goto failed;
}
ctdb_client_async_add(async_data, state);
}
}