From: Ronnie Sahlberg Date: Wed, 15 Aug 2007 00:48:10 +0000 (+1000) Subject: comment that ctdb_event_script_v() is called from a forked childs X-Git-Tag: tevent-0.9.20~348^2~2441^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a02262a06e29e1d2f5fda2865ae235fc79d2cc8;p=thirdparty%2Fsamba.git 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) --- 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) {