mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
a4c2a98ba9
We have monitor_event_script_ctx and other_event_script_ctx, and current_monitor_status_ctx in struct ctdb_context. This seems more complex than it needs to be. We use a single "event_script_ctx" as parent for all event script state structures. Then we explicitly reparent monitor events under current_monitor_status_ctx: this is freed every script invocation to kill off any running scripts anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 0d925e6f2767691fa561f15bbb857a2aec531143) |
||
---|---|---|
.. | ||
cmdline.h | ||
ctdb_private.h | ||
ctdb.h | ||
idtree.h | ||
includes.h |