anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0230-Consider-smb3-as-remote-filesystem.patch

4fbe94
From 1bf923686a6842f222b1ef5f5174511340c75685 Mon Sep 17 00:00:00 2001
4fbe94
From: Jan Synacek <jsynacek@redhat.com>
4fbe94
Date: Tue, 1 Oct 2019 08:45:08 +0200
4fbe94
Subject: [PATCH] Consider smb3 as remote filesystem
4fbe94
4fbe94
Currently systemd will treat smb3 as local filesystem and cause
4fbe94
can't boot failures. Add smb3 to the list of remote filesystems
4fbe94
to fix this issue.
4fbe94
4fbe94
Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
4fbe94
4fbe94
(cherry picked from commit ff7d6a740b0c6fa3be63d3908a0858730a0837c5)
4fbe94
4fbe94
Resolves: #1757257
4fbe94
---
4fbe94
 src/basic/mount-util.c | 1 +
4fbe94
 1 file changed, 1 insertion(+)
4fbe94
4fbe94
diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c
4fbe94
index 3670b7f591..5b04e21f34 100644
4fbe94
--- a/src/basic/mount-util.c
4fbe94
+++ b/src/basic/mount-util.c
4fbe94
@@ -603,6 +603,7 @@ bool fstype_is_network(const char *fstype) {
4fbe94
         return STR_IN_SET(fstype,
4fbe94
                           "afs",
4fbe94
                           "cifs",
4fbe94
+                          "smb3",
4fbe94
                           "smbfs",
4fbe94
                           "sshfs",
4fbe94
                           "ncpfs",