dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
7e7c9f
From a1e395b76292480649c1d94893af93c1262b2f5f Mon Sep 17 00:00:00 2001
7e7c9f
From: Kenneth D'souza <kdsouza@redhat.com>
7e7c9f
Date: Mon, 30 Sep 2019 16:01:21 +0530
7e7c9f
Subject: [PATCH] Consider smb3 as remote filesystem
7e7c9f
7e7c9f
Currently systemd will treat smb3 as local filesystem and cause
7e7c9f
can't boot failures. Add smb3 to the list of remote filesystems
7e7c9f
to fix this issue.
7e7c9f
7e7c9f
Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
7e7c9f
(cherry picked from commit ff7d6a740b0c6fa3be63d3908a0858730a0837c5)
7e7c9f
7e7c9f
Resolves: #1811700
7e7c9f
---
7e7c9f
 src/shared/util.c | 1 +
7e7c9f
 1 file changed, 1 insertion(+)
7e7c9f
7e7c9f
diff --git a/src/shared/util.c b/src/shared/util.c
7e7c9f
index ce6678eb38..3fb4492a81 100644
7e7c9f
--- a/src/shared/util.c
7e7c9f
+++ b/src/shared/util.c
7e7c9f
@@ -1937,6 +1937,7 @@ bool fstype_is_network(const char *fstype) {
7e7c9f
         static const char table[] =
7e7c9f
                 "afs\0"
7e7c9f
                 "cifs\0"
7e7c9f
+                "smb3\0"
7e7c9f
                 "smbfs\0"
7e7c9f
                 "sshfs\0"
7e7c9f
                 "ncpfs\0"