From 9bcf4a8f226054410f49bbda871acc748fff48e3 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sun, 8 May 2016 23:41:05 +0300 Subject: [PATCH] pndnotifyd: ignore IN_CREATE not interested in created empty files - IN_CLOSE_WRITE is enough. --- lib/pnd_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pnd_notify.c b/lib/pnd_notify.c index efcadcb..6f0e634 100644 --- a/lib/pnd_notify.c +++ b/lib/pnd_notify.c @@ -23,7 +23,7 @@ static int notify_handle; //static void pnd_notify_hookup ( int fd ); #if 1 -#define PND_INOTIFY_MASK IN_CREATE | IN_DELETE | IN_UNMOUNT \ +#define PND_INOTIFY_MASK IN_DELETE | IN_UNMOUNT \ | IN_DELETE_SELF | IN_MOVE_SELF \ | IN_MOVED_FROM | IN_MOVED_TO | IN_CLOSE_WRITE #else -- 2.39.5