]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: add glusterfs between network filesystems
authorKarel Zak <kzak@redhat.com>
Wed, 2 Feb 2022 10:01:59 +0000 (11:01 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Feb 2022 10:01:59 +0000 (11:01 +0100)
Fixes: https://github.com/util-linux/util-linux/issues/1590
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/utils.c

index e41ced2c3fdc530b9f4cb779385b8d6837b0f25d..2a12f1128a29f693180f4e87700f6e053c968754 100644 (file)
@@ -332,6 +332,7 @@ int mnt_fstype_is_netfs(const char *type)
            strncmp(type,"nfs", 3) == 0 ||
            strcmp(type, "afs")    == 0 ||
            strcmp(type, "ncpfs")  == 0 ||
+           strcmp(type, "glusterfs")  == 0 ||
            strcmp(type, "fuse.curlftpfs") == 0 ||
            strcmp(type, "fuse.sshfs") == 0 ||
            strncmp(type,"9p", 2)  == 0)