From ff215e7b1e8b5958914935736b7458817f44ce1f 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 42a0526371..8ee660d7b8 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -245,6 +245,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.34.1