From 8e256a2734bed8785c5fe919a442627050e70af9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 21 Mar 2012 11:47:50 +0100 Subject: s3: Pass "conn" to sys_notify_watch() --- source3/smbd/notify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/smbd/notify.c') diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 80a79a6593..e9349f6531 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -548,6 +548,7 @@ struct sys_notify_context *sys_notify_context_create(connection_struct *conn, } NTSTATUS sys_notify_watch(struct sys_notify_context *ctx, + connection_struct *conn, struct notify_entry *e, const char *path, void (*callback)(struct sys_notify_context *ctx, @@ -555,7 +556,7 @@ NTSTATUS sys_notify_watch(struct sys_notify_context *ctx, struct notify_event *ev), void *private_data, void *handle) { - return SMB_VFS_NOTIFY_WATCH(ctx->conn, ctx, e, path, callback, + return SMB_VFS_NOTIFY_WATCH(conn, ctx, e, path, callback, private_data, handle); } -- cgit