--- libev/ev.c 2009/07/29 09:36:05 1.311 +++ libev/ev.c 2009/08/12 18:48:17 1.312 @@ -2863,12 +2863,13 @@ if (w->wd >= 0) { + struct statfs sfs; + wlist_add (&fs_hash [w->wd & (EV_INOTIFY_HASHSIZE - 1)].head, (WL)w); /* now local changes will be tracked by inotify, but remote changes won't */ /* unless the filesystem it known to be local, we therefore still poll */ /* also do poll on <2.6.25, but with normal frequency */ - struct statfs sfs; if (fs_2625 && !statfs (w->path, &sfs)) if (sfs.f_type == 0x1373 /* devfs */