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:
parent
981e4cd325
commit
67608cad23
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user