diff options
| -rw-r--r-- | source3/smbd/notify.c | 3 | ||||
| -rw-r--r-- | source3/smbd/notify_internal.c | 2 | ||||
| -rw-r--r-- | source3/smbd/proto.h | 3 | 
3 files changed, 3 insertions, 5 deletions
| diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 14e946667b..88e838ee17 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -530,8 +530,7 @@ char *notify_filter_string(TALLOC_CTX *mem_ctx, uint32 filter)  	return result;  } -struct sys_notify_context *sys_notify_context_create(connection_struct *conn, -						     TALLOC_CTX *mem_ctx,  +struct sys_notify_context *sys_notify_context_create(TALLOC_CTX *mem_ctx,  						     struct event_context *ev)  {  	struct sys_notify_context *ctx; diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index 3fa5d32776..c600c30457 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -132,7 +132,7 @@ struct notify_context *notify_init(TALLOC_CTX *mem_ctx,  	messaging_register(notify->messaging_ctx, notify,  			   MSG_PVFS_NOTIFY, notify_handler); -	notify->sys_notify_ctx = sys_notify_context_create(conn, notify, ev); +	notify->sys_notify_ctx = sys_notify_context_create(notify, ev);  	return notify;  } diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 1f76403486..fe09d0221e 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -519,8 +519,7 @@ void remove_pending_change_notify_requests_by_fid(files_struct *fsp,  void notify_fname(connection_struct *conn, uint32 action, uint32 filter,  		  const char *path);  char *notify_filter_string(TALLOC_CTX *mem_ctx, uint32 filter); -struct sys_notify_context *sys_notify_context_create(connection_struct *conn, -						     TALLOC_CTX *mem_ctx, +struct sys_notify_context *sys_notify_context_create(TALLOC_CTX *mem_ctx,  						     struct event_context *ev);  NTSTATUS sys_notify_watch(struct sys_notify_context *ctx,  			  connection_struct *conn, | 
