From fa6f61e83565f49fb4e75248cffaa1ef31567d20 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 26 Mar 2012 12:46:11 +0200 Subject: s3: Pass filters explicitly through vfs notify watch This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104 --- source3/smbd/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/notify.c') diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 53ae2d68e7..fd9e5524a7 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -235,8 +235,8 @@ NTSTATUS change_notify_create(struct files_struct *fsp, uint32 filter, status = SMB_VFS_NOTIFY_WATCH( fsp->conn, fsp->conn->sconn->sys_notify_ctx, - &e, e.path, sys_notify_callback, fsp, - &sys_notify_handle); + e.path, &e.filter, &e.subdir_filter, + sys_notify_callback, fsp, &sys_notify_handle); if (NT_STATUS_IS_OK(status)) { talloc_steal(fsp->notify, sys_notify_handle); -- cgit