]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
comment that ctdb_event_script_v() is called from a forked childs
authorRonnie Sahlberg <sahlberg@ronnie>
Wed, 15 Aug 2007 00:48:10 +0000 (10:48 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Wed, 15 Aug 2007 00:48:10 +0000 (10:48 +1000)
context and thus can make blocking calls

(This used to be ctdb commit b31d98281f15995ad340d2510e08e04ed46e271a)

ctdb/server/eventscript.c

index 5e0c42f4b1f2983201b881d9bcefa50a43258510..f7a312d29f459a3632912e230610b14902664ce5 100644 (file)
@@ -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)
 {