mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 21:51:37 +00:00
util: consider both fuse.glusterfs and glusterfs network file systems
Based on a similar patch by Lukáš Nykrýn.
(cherry picked from commit 67608cad23)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
643d71530d
commit
5a01c85370
+8
-1
@@ -1503,7 +1503,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user