git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d94b5e9
)
s3: Survive an idle child that was killed
author
Christian Ambach
<christian.ambach@de.ibm.com>
Wed, 23 Feb 2011 10:10:15 +0000
(11:10 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 28 Feb 2011 15:27:24 +0000
(08:27 -0700)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 28 14:53:20 CET 2011 on sn-devel-104
(cherry picked from commit
3854413c246a3a69d100af6e827ce8f217bf408e
)
source3/modules/vfs_aio_fork.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_aio_fork.c
b/source3/modules/vfs_aio_fork.c
index 512ae436e85d171808c122acc5542f78a550bde9..9291122270f91cf30412810ff48bd504451f1680 100644
(file)
--- a/
source3/modules/vfs_aio_fork.c
+++ b/
source3/modules/vfs_aio_fork.c
@@
-397,6
+397,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;