From: Volker Lendecke Date: Thu, 6 Mar 2008 06:19:46 +0000 (+0100) Subject: Respect FAMChanged -- attempt to fix bug 5307 X-Git-Tag: samba-3.2.0pre3~2016 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a00275fde179ab8228fa9d678ec114b677bdecc0;p=thirdparty%2Fsamba.git Respect FAMChanged -- attempt to fix bug 5307 Thanks to Ricardo Santos (cherry picked from commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659) --- 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;