From 4d4a22ab1f719b7c6c3fe3dbf45d11baafd3c563 Mon Sep 17 00:00:00 2001 From: Kenneth D'souza Date: Sat, 8 Feb 2020 13:54:35 +0000 Subject: [PATCH] mountlist: consider smb3 file systems as remote * lib/mountlist.c (ME_REMOTE): Recognize file systems of type "smb3" as remote. --- ChangeLog | 6 ++++++ lib/mountlist.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 71dcaba6c4..f2c8c4124e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-02-08 Kenneth D'souza + + mountlist: consider smb3 file systems as remote + * lib/mountlist.c (ME_REMOTE): Recognize file systems of type + "smb3" as remote. + 2020-02-07 Paul Eggert fchmodat: AT_SYMLINK_NOFOLLOW fix for non-symlinks diff --git a/lib/mountlist.c b/lib/mountlist.c index 4df0294234..7abe0248ec 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -228,6 +228,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 (Fs_type, "afs") == 0 \ || strcmp (Fs_type, "auristorfs") == 0 \ -- 2.39.5