notify: Add "dir" to notify_event
authorVolker Lendecke <vl@samba.org>
Wed, 5 Nov 2014 11:44:42 +0000 (11:44 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 9 Dec 2014 03:12:09 +0000 (04:12 +0100)
commitde4a1c90a70b31f99e987fa109683862bd0823d1
tree8f5b82f01431fcd39a301fc45c883fa9cebb70a9
parentf530d6d97bfb7c64ede37ad8d2ee33118ddcf3d1
notify: Add "dir" to notify_event

"notify_event" only reports names relative to some path that is only
implicitly known via "private_data". Right now "private_data" is the fsp
of the directory holding this notify. I want to use inotify_watch in a
notify-daemon that does not have a fsp available and has more problems
getting the path right out of "private_data". notify_inotify has the
directory under which the event happened available, so make it known to
the callback. Right now no caller uses it yet.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/idl/notify.idl
source3/smbd/notify_inotify.c
source3/smbd/notify_internal.c
source4/ntvfs/common/notify.c
source4/ntvfs/sysdep/inotify.c