From 240a3fd644bbc94e5872f699c9b90649b52b98a1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 1 Feb 2007 13:36:02 +0000 Subject: r21108: Send sys_notify_watch through the VFS, FAM is next (This used to be commit 603a96761391f36ae9a1c8777d3333ab5c02eb34) --- source3/smbd/notify_internal.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source3/smbd/notify_internal.c') diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index 6d77ba4df6..506ad15b71 100644 --- a/source3/smbd/notify_internal.c +++ b/source3/smbd/notify_internal.c @@ -73,11 +73,12 @@ static int notify_destructor(struct notify_context *notify) struct notify_context *notify_init(TALLOC_CTX *mem_ctx, struct server_id server, struct messaging_context *messaging_ctx, struct event_context *ev, - struct share_params *scfg) + connection_struct *conn) { struct notify_context *notify; - if (!lp_parm_bool(scfg->service, "notify", "enable", True)) { + if (!lp_parm_bool(conn->params->service, "notify", "enable", + True)) { return NULL; } @@ -107,7 +108,7 @@ struct notify_context *notify_init(TALLOC_CTX *mem_ctx, struct server_id server, messaging_register(notify->messaging_ctx, notify, MSG_PVFS_NOTIFY, notify_handler); - notify->sys_notify_ctx = sys_notify_context_create(scfg, notify, ev); + notify->sys_notify_ctx = sys_notify_context_create(conn, notify, ev); return notify; } -- cgit