From: Grazvydas Ignotas Date: Sun, 8 May 2016 20:41:05 +0000 (+0300) Subject: pndnotifyd: ignore IN_CREATE X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-libraries.git;a=commitdiff_plain;h=9bcf4a8f226054410f49bbda871acc748fff48e3 pndnotifyd: ignore IN_CREATE not interested in created empty files - IN_CLOSE_WRITE is enough. --- 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