From fa91368fb4ea2c31f6e1b1037f1bd16ef9f3ba98 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 6 Apr 2006 10:12:36 +0000 Subject: r14945: allow the notify backend to be specified per share (This used to be commit 467027e7730a3bc56f152df7e2ec272905e19584) --- source4/ntvfs/common/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/ntvfs/common') diff --git a/source4/ntvfs/common/notify.c b/source4/ntvfs/common/notify.c index e0d48d2b80..a1f7e80119 100644 --- a/source4/ntvfs/common/notify.c +++ b/source4/ntvfs/common/notify.c @@ -77,7 +77,7 @@ static int notify_destructor(void *p) */ struct notify_context *notify_init(TALLOC_CTX *mem_ctx, uint32_t server, struct messaging_context *messaging_ctx, - struct event_context *ev) + struct event_context *ev, int snum) { char *path; struct notify_context *notify; @@ -110,7 +110,7 @@ struct notify_context *notify_init(TALLOC_CTX *mem_ctx, uint32_t server, messaging_register(notify->messaging_ctx, notify, MSG_PVFS_NOTIFY, notify_handler); - notify->sys_notify_ctx = sys_notify_init(-1, notify, ev); + notify->sys_notify_ctx = sys_notify_init(snum, notify, ev); return notify; } -- cgit