summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-21 11:55:55 +0100
committerVolker Lendecke <vl@samba.org>2012-03-21 12:52:09 +0100
commit91f77253e70d8b41f21f62282a7a876a731a795b (patch)
treed814d4017c0dee1a08670e51b1c614f3bfd8b3be /source3
parent6a2bf12f6a95fcff747f28ea5089c6e93b26643c (diff)
downloadsamba-91f77253e70d8b41f21f62282a7a876a731a795b.tar.gz
samba-91f77253e70d8b41f21f62282a7a876a731a795b.tar.bz2
samba-91f77253e70d8b41f21f62282a7a876a731a795b.zip
s3: Remove "conn" param from sys_notify_context_create
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/notify.c3
-rw-r--r--source3/smbd/notify_internal.c2
-rw-r--r--source3/smbd/proto.h3
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,