richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
803fb7
From f1cb9320c6aca21b17c9a120eb70a788df8ac6d5 Mon Sep 17 00:00:00 2001
803fb7
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
803fb7
Date: Mon, 31 Oct 2016 23:48:00 -0400
803fb7
Subject: [PATCH] Recognise Lustre as a remote file system (#4530)
803fb7
803fb7
Lustre is also a remote file system that wants the network to be up before it is mounted.
803fb7
803fb7
Cherry-picked from: 67ae43665e7e03becba197e98df5b3ce40269567
803fb7
Resolves: #1390542
803fb7
---
803fb7
 src/shared/util.c | 6 +++++-
803fb7
 1 file changed, 5 insertions(+), 1 deletion(-)
803fb7
803fb7
diff --git a/src/shared/util.c b/src/shared/util.c
803fb7
index eab5ab816..66729f70e 100644
803fb7
--- a/src/shared/util.c
803fb7
+++ b/src/shared/util.c
803fb7
@@ -1924,7 +1924,11 @@ bool fstype_is_network(const char *fstype) {
803fb7
                 "nfs4\0"
803fb7
                 "gfs\0"
803fb7
                 "gfs2\0"
803fb7
-                "glusterfs\0";
803fb7
+                "glusterfs\0"
803fb7
+                "pvfs2\0" /* OrangeFS */
803fb7
+                "ocfs2\0"
803fb7
+                "lustre\0"
803fb7
+                ;
803fb7
 
803fb7
         const char *x;
803fb7