diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-08-18 10:11:59 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-08-18 10:11:59 +1000 |
commit | e8ffb0d8a474c170cc08eb6a48a049526cf6b726 (patch) | |
tree | cc166d373ff6b9290064dde14aa59e459695019f /ctdb/server/ctdbd.c | |
parent | ddf3c621c1b4caa7257c551ea76ce7eb027ae961 (diff) | |
download | samba-e8ffb0d8a474c170cc08eb6a48a049526cf6b726.tar.gz samba-e8ffb0d8a474c170cc08eb6a48a049526cf6b726.tar.xz samba-e8ffb0d8a474c170cc08eb6a48a049526cf6b726.zip |
We use eventloop nesting in a couple of places, notably the sync
parts of the recovery daemon.
Initialize all event contexts to allow nesting
(This used to be ctdb commit 5bf6bd5e7f33aabbeb7b9707716ef99cf471e590)
Diffstat (limited to 'ctdb/server/ctdbd.c')
-rw-r--r-- | ctdb/server/ctdbd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/server/ctdbd.c b/ctdb/server/ctdbd.c index b0b075c4f3..89b9af179b 100644 --- a/ctdb/server/ctdbd.c +++ b/ctdb/server/ctdbd.c @@ -178,6 +178,7 @@ int main(int argc, const char *argv[]) fault_setup("ctdbd"); ev = event_context_init(NULL); + tevent_loop_allow_nesting(ev); ctdb = ctdb_cmdline_init(ev); |