bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] [PATCH] mountlist: Consider smb3 filesystems as remote.


From: Kenneth D'souza
Subject: [PATCH] [PATCH] mountlist: Consider smb3 filesystems as remote.
Date: Wed, 5 Feb 2020 19:46:26 +0530

Recognize filesystems of type smb3 as remote.

Signed-off-by: Kenneth D'souza <address@hidden>
---
 lib/mountlist.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/mountlist.c b/lib/mountlist.c
index 61063ce91..969fedf8b 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -227,6 +227,7 @@ me_remote (char const *fs_name, char const *fs_type 
_GL_UNUSED)
      || ((Fs_name)[0] == '/'                    \
          && (Fs_name)[1] == '/'                 \
          && (strcmp (Fs_type, "smbfs") == 0     \
+            || strcmp (Fs_type, "smb3") == 0   \
              || strcmp (Fs_type, "cifs") == 0)) \
      || (strcmp("-hosts", Fs_name) == 0))
 #endif
-- 
2.21.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]