Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.
authorJeremy Allison <jra@samba.org>
Fri, 4 Jun 2010 20:49:38 +0000 (13:49 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 4 Jun 2010 20:49:38 +0000 (13:49 -0700)
source3/modules/vfs_aio_fork.c

index 38a1c21e298a6f589f6046167d4b1fd21c1164fa..b0262542c3c960603b49d4a4fcde836f3310ff0b 100644 (file)
@@ -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);
 }