summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-12 13:39:56 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-12 14:35:43 +0100
commit1df1e0fb56f64cf2cf2ae115265a48f4968d3066 (patch)
tree88f2e1c427492d4353ca28ec0ac06d9d089ec5f2 /source3
parent61d867472771dfbd700e13605d1a3402f99f273b (diff)
downloadsamba-1df1e0fb56f64cf2cf2ae115265a48f4968d3066.tar.gz
samba-1df1e0fb56f64cf2cf2ae115265a48f4968d3066.tar.bz2
samba-1df1e0fb56f64cf2cf2ae115265a48f4968d3066.zip
s3:smbd/fileio: avoid usage of server_event_context()
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/fileio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c
index 3b317f9a86..85d879d8c5 100644
--- a/source3/smbd/fileio.c
+++ b/source3/smbd/fileio.c
@@ -240,9 +240,9 @@ void trigger_write_time_update(struct files_struct *fsp)
/* trigger the update 2 seconds later */
fsp->update_write_time_event =
- event_add_timed(server_event_context(), NULL,
- timeval_current_ofs_usec(delay),
- update_write_time_handler, fsp);
+ tevent_add_timer(fsp->conn->sconn->ev_ctx, NULL,
+ timeval_current_ofs_usec(delay),
+ update_write_time_handler, fsp);
}
void trigger_write_time_update_immediate(struct files_struct *fsp)