mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3: Remove "conn" param from sys_notify_context_create
This commit is contained in:
parent
6a2bf12f6a
commit
91f77253e7
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user