summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-06 07:19:46 +0100
committerKarolin Seeger <kseeger@samba.org>2008-03-06 11:06:27 +0100
commit966074242c99d2bab02bb2fbbcc2c00a38d3af82 (patch)
treee9eacc001dd37d9b4b55f539f81aec36e27f0fda /source3
parent681af65dd781c99d8ae3b6a85f7bf79b7a2e1ca0 (diff)
downloadsamba-966074242c99d2bab02bb2fbbcc2c00a38d3af82.tar.gz
samba-966074242c99d2bab02bb2fbbcc2c00a38d3af82.tar.bz2
samba-966074242c99d2bab02bb2fbbcc2c00a38d3af82.zip
Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos (cherry picked from commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659) (This used to be commit a00275fde179ab8228fa9d678ec114b677bdecc0)
Diffstat (limited to 'source3')
-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;