bug-gnulib
[Top][All Lists]
Advanced

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

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


From: Pádraig Brady
Subject: Re: [PATCH] [PATCH] mountlist: Consider smb3 filesystems as remote.
Date: Sat, 8 Feb 2020 13:59:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Thunderbird/73.0

On 05/02/2020 14:16, Kenneth D'souza wrote:
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


Yes I see .name = "smb3" in the kernel source for cifs.
Pushed.

thanks,
Pádraig



reply via email to

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