From 97cc5e316a4eacbf0fb6ac01228eea6688144a57 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 6 Mar 2008 07:19:46 +0100 Subject: Respect FAMChanged -- attempt to fix bug 5307 Thanks to Ricardo Santos --- source/modules/vfs_notify_fam.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/modules') diff --git a/source/modules/vfs_notify_fam.c b/source/modules/vfs_notify_fam.c index b76046b3789..1758a9f2bcf 100644 --- a/source/modules/vfs_notify_fam.c +++ b/source/modules/vfs_notify_fam.c @@ -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; -- cgit v1.2.1