smbd: Add a timestamp to queued notify events
commite616e3c9372bfffb99260ddc310890cbcdbd08c5
authorVolker Lendecke <vl@samba.org>
Fri, 4 Apr 2014 15:00:16 +0000 (4 15:00 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 23 Apr 2014 20:33:08 +0000 (23 22:33 +0200)
tree19031247ea1486a9d9a734f18b54bc80d74ac7a2
parentb022038cdc17cf02710cd77c7daa80dbfcbece8c
smbd: Add a timestamp to queued notify events

In a cluster and with changed messaging it can happen that messages are
scheduled after new SMB requests. This re-ordering breaks a few notify tests.
This starts the infrastructure to add timestamps to notify events, so that they
can be sorted before they are sent out. The timestamp will be the current local
time of notify_fname, that's all we can do.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/notify.c