mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 08:16:24 +01:00
After talk with FEN dev, we dicide simply disable monitor function if
the current filesystem doesn't suport FEN.
This commit is contained in:
parent
8e41be13ef
commit
c874a76a8b
@ -357,6 +357,14 @@ start_over:
|
|||||||
|
|
||||||
} else if (errno == ENOENT) {
|
} else if (errno == ENOENT) {
|
||||||
/* File is not exist */
|
/* File is not exist */
|
||||||
|
} else if (errno == ENOTSUP) {
|
||||||
|
/* FS is not supported. Currently we think it no longer make sense to
|
||||||
|
* monitor it, so clean the stat info and return 0 to ignore this
|
||||||
|
* node. If there are requirement, we can consider to add polling
|
||||||
|
* method.
|
||||||
|
*/
|
||||||
|
NODE_CLE_FLAG(f, NODE_FLAG_STAT_UPDATED);
|
||||||
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
FK_W ("PORT_ASSOCIATE 0x%p %s\n", f, g_strerror (errno));
|
FK_W ("PORT_ASSOCIATE 0x%p %s\n", f, g_strerror (errno));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user