From fa07208cee41b51d68144e2fe14d274fdb8f4873 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 13 Jan 2011 15:59:18 +0100 Subject: 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(+) (limited to 'source3') diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 90d06b10c1..fc5b7f1941 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) { -- cgit