summaryrefslogtreecommitdiff
path: root/source3/smbd/notify.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-04-04 15:11:51 +0000
committerJeremy Allison <jra@samba.org>2014-04-23 22:33:08 +0200
commitda1778f4458d6be61b1a1b74c18367e98d6065e0 (patch)
tree696f5d4cd7c5ba953f644e41798d54300b7262de /source3/smbd/notify.c
parent892bec88a3c4842d1b8d43dd9984eada99eab810 (diff)
downloadsamba-da1778f4458d6be61b1a1b74c18367e98d6065e0.tar.gz
smbd: Pass timespec_current through the notify_callback
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/notify.c')
-rw-r--r--source3/smbd/notify.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 693418a4cc6..b8085dd6c42 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -211,11 +211,12 @@ void change_notify_reply(struct smb_request *req,
notify_buf->num_changes = 0;
}
-static void notify_callback(void *private_data, const struct notify_event *e)
+static void notify_callback(void *private_data, struct timespec when,
+ const struct notify_event *e)
{
files_struct *fsp = (files_struct *)private_data;
DEBUG(10, ("notify_callback called for %s\n", fsp_str_dbg(fsp)));
- notify_fsp(fsp, timespec_current(), e->action, e->path);
+ notify_fsp(fsp, when, e->action, e->path);
}
static void sys_notify_callback(struct sys_notify_context *ctx,