1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-26 17:25:34 +03:00

util: consider both fuse.glusterfs and glusterfs network file systems

Based on a similar patch by Lukáš Nykrýn.
This commit is contained in:
Lennart Poettering 2014-03-25 01:46:24 +01:00
parent 981e4cd325
commit 67608cad23

View File

@ -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);
}