summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-25 11:07:06 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-25 15:28:16 +0200
commitc0936663a86ca8515b8a38bdd4feee5250171032 (patch)
treeec5398a1e0156b9820bde7f5410f71b845aebe59
parentc983ea8e5dc30111f6b8407307c3212635593949 (diff)
downloadsamba-c0936663a86ca8515b8a38bdd4feee5250171032.tar.gz
samba-c0936663a86ca8515b8a38bdd4feee5250171032.tar.bz2
samba-c0936663a86ca8515b8a38bdd4feee5250171032.zip
s3: Avoid a call to server_event_context()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/modules/vfs_aio_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_aio_pthread.c b/source3/modules/vfs_aio_pthread.c
index 36ce9ab9d1..3287fc165b 100644
--- a/source3/modules/vfs_aio_pthread.c
+++ b/source3/modules/vfs_aio_pthread.c
@@ -69,7 +69,7 @@ static bool init_aio_threadpool(struct vfs_handle_struct *handle)
errno = ret;
return false;
}
- sock_event = tevent_add_fd(server_event_context(),
+ sock_event = tevent_add_fd(handle->conn->sconn->ev_ctx,
NULL,
pthreadpool_signal_fd(pool),
TEVENT_FD_READ,