[systemd-commits] src/shared
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Mar 24 17:47:19 PDT 2014
src/shared/util.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
New commits:
commit 67608cad2301f9ab5c92336992c176505640f2ba
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 25 01:46:24 2014 +0100
util: consider both fuse.glusterfs and glusterfs network file systems
Based on a similar patch by Lukáš Nykrýn.
diff --git a/src/shared/util.c b/src/shared/util.c
index dd67c22..ffe6624 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);
}
More information about the systemd-commits
mailing list