summaryrefslogtreecommitdiffstats
path: root/source/modules/vfs_notify_fam.c
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
commita00275fde179ab8228fa9d678ec114b677bdecc0 (patch)
tree3e5e0eb9d70298e203839f08cb4ea99334bdd2d5 /source/modules/vfs_notify_fam.c
parent350edda357a527822468bc055f6b866e11a99de7 (diff)
downloadsamba-a00275fde179ab8228fa9d678ec114b677bdecc0.tar.gz
samba-a00275fde179ab8228fa9d678ec114b677bdecc0.tar.xz
samba-a00275fde179ab8228fa9d678ec114b677bdecc0.zip
Respect FAMChanged -- attempt to fix bug 5307
Thanks to Ricardo Santos (cherry picked from commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659)
Diffstat (limited to 'source/modules/vfs_notify_fam.c')
-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 30cb0aa17c5..aacc52e68c0 100644
--- a/source/modules/vfs_notify_fam.c
+++ b/source/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;