diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 10:57:54 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:48:03 +0100 |
commit | cf1336e356001c3a83de063c501264fe37bf38c6 (patch) | |
tree | 90cbbbf76a717809e4be2350a552c183035805e6 | |
parent | 98660d54a86fc29ee34094aa486b12ddf27e3906 (diff) | |
download | samba-cf1336e356001c3a83de063c501264fe37bf38c6.tar.gz samba-cf1336e356001c3a83de063c501264fe37bf38c6.tar.bz2 samba-cf1336e356001c3a83de063c501264fe37bf38c6.zip |
s3:modules: s/event_add_timed/tevent_add_timer
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | source3/modules/vfs_aio_fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 54fb4d2015..1d840fa42e 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -294,7 +294,7 @@ static void aio_child_cleanup(struct tevent_context *event_ctx, /* * Re-schedule the next cleanup round */ - list->cleanup_event = event_add_timed(server_event_context(), list, + list->cleanup_event = tevent_add_timer(server_event_context(), list, timeval_add(&now, 30, 0), aio_child_cleanup, list); @@ -324,7 +324,7 @@ static struct aio_child_list *init_aio_children(struct vfs_handle_struct *handle */ if (data->cleanup_event == NULL) { - data->cleanup_event = event_add_timed(server_event_context(), data, + data->cleanup_event = tevent_add_timer(server_event_context(), data, timeval_current_ofs(30, 0), aio_child_cleanup, data); if (data->cleanup_event == NULL) { |