s3: Remove "conn" param from sys_notify_context_create
authorVolker Lendecke <vl@samba.org>
Wed, 21 Mar 2012 10:55:55 +0000 (11:55 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 21 Mar 2012 11:52:09 +0000 (12:52 +0100)
source3/smbd/notify.c
source3/smbd/notify_internal.c
source3/smbd/proto.h

index 14e946667b4c45f3e4a236d04ec7e9d6f4f9826a..88e838ee178d6416d8ddd76d069fc102380b4893 100644 (file)
@@ -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;
index 3fa5d32776fe0934d27a9fefe0fb1d560b4f4ad1..c600c30457c5da75cc0ead23debb1a8c74fc1515 100644 (file)
@@ -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;
 }
index 1f764034865dfb359795cb2e6cd0fb01631a8242..fe09d0221e14731a2bcfe6f82cb1b67dcd10fcc4 100644 (file)
@@ -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,