summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2009-08-12 18:48:17 +0000
committerroot <root>2009-08-12 18:48:17 +0000
commit72dedbe4624c9dfb3b928a1c3e2d4d5c23bb144c (patch)
tree87c7a6a28c1b2a2eeed3ee447f9a7f481ffc8e5a /ev.c
parent77a4ae7f426c8746e924f9452c78a385077a2391 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index bfb87f2..4e19864 100644
--- a/ev.c
+++ b/ev.c
@@ -2863,12 +2863,13 @@ infy_add (EV_P_ ev_stat *w)
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 */