pndnotifyd: ignore IN_CREATE
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 8 May 2016 20:41:05 +0000 (23:41 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 8 May 2016 20:41:05 +0000 (23:41 +0300)
not interested in created empty files - IN_CLOSE_WRITE is enough.

lib/pnd_notify.c

index efcadcb..6f0e634 100644 (file)
@@ -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