summaryrefslogtreecommitdiffstats
path: root/ctdb/server/eventscript.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@ronnie>2007-08-15 10:48:10 +1000
committerRonnie Sahlberg <sahlberg@ronnie>2007-08-15 10:48:10 +1000
commit5a02262a06e29e1d2f5fda2865ae235fc79d2cc8 (patch)
tree3f51b68abf0c6322eb0307fddfc04d8590ecdcc5 /ctdb/server/eventscript.c
parent56d5ef27b69511063f0613cb29d978ce984a0f6f (diff)
downloadsamba-5a02262a06e29e1d2f5fda2865ae235fc79d2cc8.tar.gz
samba-5a02262a06e29e1d2f5fda2865ae235fc79d2cc8.tar.xz
samba-5a02262a06e29e1d2f5fda2865ae235fc79d2cc8.zip
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)
Diffstat (limited to 'ctdb/server/eventscript.c')
-rw-r--r--ctdb/server/eventscript.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/server/eventscript.c b/ctdb/server/eventscript.c
index 5e0c42f4b1..f7a312d29f 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)
{