From 5a02262a06e29e1d2f5fda2865ae235fc79d2cc8 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 15 Aug 2007 10:48:10 +1000 Subject: [PATCH] comment that ctdb_event_script_v() is called from a forked childs context and thus can make blocking calls (This used to be ctdb commit b31d98281f15995ad340d2510e08e04ed46e271a) --- ctdb/server/eventscript.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c index 5e0c42f4b1f..f7a312d29f4 100644 --- a/ctdb/server/eventscript.c +++ b/ctdb/server/eventscript.c @@ -25,6 +25,8 @@ /* run the event script - varargs version + this function is called and run in the context of a forked child + which allows it to do blocking calls such as system() */ static int ctdb_event_script_v(struct ctdb_context *ctdb, const char *fmt, va_list ap) { -- 2.47.3