Don't use sigev_value.sival_int to just store the mid, use sigev_value.sival_ptr...
commite9ff32c6c3c270818f2341d85d2ba193c4e99864
authorJeremy Allison <jra@samba.org>
Tue, 1 Jun 2010 23:05:44 +0000 (1 16:05 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 1 Jun 2010 23:05:44 +0000 (1 16:05 -0700)
treefc5c5aa4441fba8e5150e2847c8b0bbbe63afe14
parent1ba611a56c2b12f5138172be7bc23d187893cf16
Don't use sigev_value.sival_int to just store the mid, use sigev_value.sival_ptr to store the private data structure.

This allows easier use from SMB2. Ensure aio is initialized before the
aio_pending_size check else aio will never be used.

Jeremy.
source3/smbd/aio.c