richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
b11b5f
From 2fe9fb3e844d7991105c40d4363eed9069a6837d Mon Sep 17 00:00:00 2001
b11b5f
From: Michal Sekletar <msekleta@redhat.com>
b11b5f
Date: Fri, 18 Nov 2022 16:16:36 +0100
b11b5f
Subject: [PATCH] basic: recognize pdfs filesystem as a network filesystem
b11b5f
b11b5f
Fujitsu advises their users to always use _netdev mount option with pdfs
b11b5f
mounts. Hence it makes sense to simply consider pdfs mounts as network
b11b5f
filesystem mounts.
b11b5f
b11b5f
https://software.fujitsu.com/jp/manual/manualfiles/m130027/j2ul1563/02enz200/j1563-02-06-02-02.html
b11b5f
b11b5f
RHEL-only
b11b5f
b11b5f
Resolves: #2094661
b11b5f
---
b11b5f
 src/basic/mount-util.c | 3 ++-
b11b5f
 1 file changed, 2 insertions(+), 1 deletion(-)
b11b5f
b11b5f
diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c
b11b5f
index e7f9e514c2..983566b46b 100644
b11b5f
--- a/src/basic/mount-util.c
b11b5f
+++ b/src/basic/mount-util.c
b11b5f
@@ -634,7 +634,8 @@ bool fstype_is_network(const char *fstype) {
b11b5f
                           "glusterfs",
b11b5f
                           "pvfs2", /* OrangeFS */
b11b5f
                           "ocfs2",
b11b5f
-                          "lustre");
b11b5f
+                          "lustre",
b11b5f
+                          "pdfs");
b11b5f
 }
b11b5f
 
b11b5f
 bool fstype_is_api_vfs(const char *fstype) {