]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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:07:46 +0000 (10:07 +0100)
Thanks to Ricardo Santos

source/modules/vfs_notify_fam.c

index 30cb0aa17c52d8d648a6a40b46be4b7ffc9aae68..aacc52e68c06db0777f6a621bf64b3c3415b1554 100644 (file)
@@ -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;