richardphibel / rpms / systemd

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