chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
981e4cd
)
util: consider both fuse.glusterfs and glusterfs network file systems
author
Lennart Poettering
<lennart@poettering.net>
Tue, 25 Mar 2014 00:46:24 +0000
(
01:46
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 25 Mar 2014 00:46:24 +0000
(
01:46
+0100)
Based on a similar patch by Lukáš Nykrýn.
src/shared/util.c
patch
|
blob
|
history
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);
}