summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-06-04 13:49:38 -0700
committerJeremy Allison <jra@samba.org>2010-06-04 13:49:38 -0700
commitfb79a8d7f0f4b7686983d8c9025c1ebd0445e84f (patch)
tree8d6c5679a852d8a23542892a3e2f0d1514cf2d47
parentb12409a480410116b88f8c6a4522a79056ccbaff (diff)
downloadsamba-fb79a8d7f0f4b7686983d8c9025c1ebd0445e84f.tar.gz
samba-fb79a8d7f0f4b7686983d8c9025c1ebd0445e84f.tar.bz2
samba-fb79a8d7f0f4b7686983d8c9025c1ebd0445e84f.zip
Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.
-rw-r--r--source3/modules/vfs_aio_fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index 38a1c21e29..b0262542c3 100644
--- a/source3/modules/vfs_aio_fork.c
+++ b/source3/modules/vfs_aio_fork.c
@@ -411,6 +411,7 @@ static void handle_aio_completion(struct event_context *event_ctx,
child->retval.size);
}
+ aio_ex = (struct aio_extra *)child->aiocb->aio_sigevent.sigev_value.sival_ptr;
smbd_aio_complete_aio_ex(aio_ex);
}