chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: consider both fuse.glusterfs and glusterfs network file systems
[elogind.git]
/
src
/
shared
/
util.c
diff --git
a/src/shared/util.c
b/src/shared/util.c
index dd67c2264164b0c04c32a630e11cc872e162245e..ffe6624f9a7076142cd0f3ec8290ed7d8b1141af 100644
(file)
--- 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);
}