From 61d867472771dfbd700e13605d1a3402f99f273b Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze@samba.org>
Date: Mon, 12 Dec 2011 13:39:56 +0100
Subject: s3:smbd/close: avoid usage of server_event_context()

metze
---
 source3/smbd/close.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index b259045ddf..8fd6b1f521 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -289,7 +289,7 @@ static NTSTATUS close_remove_share_mode(files_struct *fsp,
 
 	/* Ensure any pending write time updates are done. */
 	if (fsp->update_write_time_event) {
-		update_write_time_handler(server_event_context(),
+		update_write_time_handler(fsp->conn->sconn->ev_ctx,
 					fsp->update_write_time_event,
 					timeval_current(),
 					(void *)fsp);
-- 
cgit