1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: Remove "conn" from sys_notify_context

This commit is contained in:
Volker Lendecke 2012-03-21 11:52:27 +01:00
parent 8e256a2734
commit 6a2bf12f6a
3 changed files with 1 additions and 3 deletions

View File

@ -192,7 +192,6 @@ struct notify_change_request;
struct sys_notify_backend;
struct sys_notify_context {
struct event_context *ev;
struct connection_struct *conn;
void *private_data; /* For use by the system backend */
};

View File

@ -1648,7 +1648,7 @@ static NTSTATUS vfswrap_notify_watch(vfs_handle_struct *vfs_handle,
* Until that is the case, hard-code inotify here.
*/
#ifdef HAVE_INOTIFY
if (lp_kernel_change_notify(ctx->conn->params)) {
if (lp_kernel_change_notify(vfs_handle->conn->params)) {
return inotify_watch(ctx, e, path, callback, private_data,
handle);
}

View File

@ -542,7 +542,6 @@ struct sys_notify_context *sys_notify_context_create(connection_struct *conn,
}
ctx->ev = ev;
ctx->conn = conn;
ctx->private_data = NULL;
return ctx;
}