From f8615ebc34fb1a960a1bd946650a8c15a9a347fa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 Mar 2014 01:46:24 +0100 Subject: [PATCH] util: consider both fuse.glusterfs and glusterfs network file systems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on a similar patch by Lukáš Nykrýn. Resolves: #1080229 --- src/shared/util.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/shared/util.c b/src/shared/util.c index 090a204..2974c2a 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -1625,7 +1625,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); }