diff options
author | Christian Ambach <christian.ambach@de.ibm.com> | 2011-01-13 15:59:18 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-01-14 09:11:19 +0100 |
commit | fa07208cee41b51d68144e2fe14d274fdb8f4873 (patch) | |
tree | 765bd1ceb9f228e6e6e1224fa827d97464383e29 | |
parent | 8e0233576ea1456f53cc29f3945b50baa21297ad (diff) | |
download | samba-fa07208cee41b51d68144e2fe14d274fdb8f4873.tar.gz samba-fa07208cee41b51d68144e2fe14d274fdb8f4873.tar.bz2 samba-fa07208cee41b51d68144e2fe14d274fdb8f4873.zip |
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
-rw-r--r-- | source3/modules/vfs_aio_fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |