summaryrefslogtreecommitdiff
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:08:18 +0100
commit97cc5e316a4eacbf0fb6ac01228eea6688144a57 (patch)
tree2870213e15b269bcbec213a6f8c39e587b3c8c8a
parentb214365ec32c1904ea763cccd0b2b49f5f6f0869 (diff)
downloadsamba-97cc5e316a4eacbf0fb6ac01228eea6688144a57.tar.gz
Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos
-rw-r--r--source/modules/vfs_notify_fam.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/modules/vfs_notify_fam.c b/source/modules/vfs_notify_fam.c
index b76046b3789..1758a9f2bcf 100644
--- a/source/modules/vfs_notify_fam.c
+++ b/source/modules/vfs_notify_fam.c
@@ -156,6 +156,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;