The branch, master has been updated
via 3854413 s3: Survive an idle child that was killed
from 5808188 s3: smbcontrol to notify smbd about idmap changes
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 3854413c246a3a69d100af6e827ce8f217bf408e
Author: Christian Ambach <[email protected]>
Date: Wed Feb 23 11:10:15 2011 +0100
s3: Survive an idle child that was killed
Autobuild-User: Volker Lendecke <[email protected]>
Autobuild-Date: Mon Feb 28 14:53:20 CET 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_aio_fork.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index 0cea931..4ddc71e 100644
--- a/source3/modules/vfs_aio_fork.c
+++ b/source3/modules/vfs_aio_fork.c
@@ -407,6 +407,12 @@ static void handle_aio_completion(struct event_context
*event_ctx,
child->retval.ret_errno = EIO;
}
+ if (child->aiocb == NULL) {
+ DEBUG(1, ("Inactive child died\n"));
+ TALLOC_FREE(child);
+ return;
+ }
+
if (child->cancelled) {
child->aiocb = NULL;
child->cancelled = false;
--
Samba Shared Repository