summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/util.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index dd67c22641..ffe6624f9a 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -1500,7 +1500,14 @@ bool fstype_is_network(const char *fstype) {
"nfs\0"
"nfs4\0"
"gfs\0"
- "gfs2\0";
+ "gfs2\0"
+ "glusterfs\0";
+
+ const char *x;
+
+ x = startswith(fstype, "fuse.");
+ if (x)
+ fstype = x;
return nulstr_contains(table, fstype);
}