Respect FAMChanged -- attempt to fix bug 5307
authorVolker Lendecke <vl@samba.org>
Thu, 6 Mar 2008 06:19:46 +0000 (07:19 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 6 Mar 2008 09:08:18 +0000 (10:08 +0100)
Thanks to Ricardo Santos

source/modules/vfs_notify_fam.c

index b76046b37892313d7271692fe772f85b3523f2d2..1758a9f2bcf0cae2ac6abac4a0b16590b8e94be3 100644 (file)
@@ -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;