summaryrefslogtreecommitdiffstats
path: root/ctdb/server/ctdb_lock_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/server/ctdb_lock_helper.c')
-rw-r--r--ctdb/server/ctdb_lock_helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/server/ctdb_lock_helper.c b/ctdb/server/ctdb_lock_helper.c
index b1515a256e1..709130cf61f 100644
--- a/ctdb/server/ctdb_lock_helper.c
+++ b/ctdb/server/ctdb_lock_helper.c
@@ -107,6 +107,8 @@ int main(int argc, char *argv[])
exit(1);
}
+ reset_scheduler();
+
ppid = atoi(argv[1]);
write_fd = atoi(argv[2]);
lock_type = argv[3];