naccyde / rpms / systemd

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