summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_notify_fam.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-06 07:19:46 +0100
committerVolker Lendecke <vl@samba.org>2008-03-06 10:07:46 +0100
commit05af5c367d5ed2e738811d206e916f5109e0ee01 (patch)
treed97a923c9b078449d54e9f10536ddc3b608e4963 /source3/modules/vfs_notify_fam.c
parentddd8bdedcb96a3d9d580337e65491b1e957dbb46 (diff)
downloadsamba-05af5c367d5ed2e738811d206e916f5109e0ee01.tar.gz
samba-05af5c367d5ed2e738811d206e916f5109e0ee01.tar.bz2
samba-05af5c367d5ed2e738811d206e916f5109e0ee01.zip
Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos (This used to be commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659)
Diffstat (limited to 'source3/modules/vfs_notify_fam.c')
-rw-r--r--source3/modules/vfs_notify_fam.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/modules/vfs_notify_fam.c b/source3/modules/vfs_notify_fam.c
index 30cb0aa17c..aacc52e68c 100644
--- a/source3/modules/vfs_notify_fam.c
+++ b/source3/modules/vfs_notify_fam.c
@@ -155,6 +155,9 @@ static void fam_handler(struct event_context *event_ctx,
fam_event.filename));
switch (fam_event.code) {
+ case FAMChanged:
+ ne.action = NOTIFY_ACTION_MODIFIED;
+ break;
case FAMCreated:
ne.action = NOTIFY_ACTION_ADDED;
break;