]> granicus.if.org Git - transmission/commitdiff
(2.7x, daemon) backport r13726 for #4523
authorJordan Lee <jordan@transmissionbt.com>
Thu, 3 Jan 2013 23:54:25 +0000 (23:54 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Thu, 3 Jan 2013 23:54:25 +0000 (23:54 +0000)
daemon/watch.c

index 8976fca574a32a85110e399444ff2e8ea3838b01..da5e95e84b485505127414dbcea685a28c95c513 100644 (file)
@@ -55,7 +55,7 @@ struct dtr_watchdir
 /* reasonable guess as to size of 50 events */
 #define BUF_LEN (EVENT_BATCH_COUNT * (EVENT_SIZE + 16) + 2048)
 
-#define DTR_INOTIFY_MASK (IN_CLOSE_WRITE|IN_MOVED_TO|IN_ONLYDIR)
+#define DTR_INOTIFY_MASK (IN_CLOSE_WRITE|IN_MOVED_TO|IN_CREATE|IN_ONLYDIR)
 
 static void
 watchdir_new_impl (dtr_watchdir * w)