From 381aaa3247c7e3c4cf6f99462543bbeed40b3d39 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 13 Jan 2011 15:59:18 +0100 Subject: [PATCH] s3:vfs fix children cleanup in aio_fork the cleanup loop in aio_fork always stopped operation on the first inactive child it found. In case lots of children need to be reaped, it will take multiple runs before all children are gone --- source3/modules/vfs_aio_fork.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 90d06b10c16..fc5b7f19413 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -246,6 +246,7 @@ static void aio_child_cleanup(struct event_context *event_ctx, "deleting\n", (int)child->pid)); TALLOC_FREE(child); + child = next; } if (list->children != NULL) { -- 2.11.4.GIT