On 05/02/2020 14:16, Kenneth D'souza wrote:
Recognize filesystems of type smb3 as remote.
Signed-off-by: Kenneth D'souza <kdso...@redhat.com>
---
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