]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: fix reconnect with SMB1 UNIX Extensions
authorSteve French <stfrench@microsoft.com>
Tue, 23 Jul 2024 04:40:08 +0000 (23:40 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 23 Jul 2024 22:45:49 +0000 (17:45 -0500)
commita214384ce26b6111ea8c8d58fa82a1ca63996c38
tree35167eb1676752f067c2a2be304802f6a9496852
parent193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2
cifs: fix reconnect with SMB1 UNIX Extensions

When mounting with the SMB1 Unix Extensions (e.g. mounts
to Samba with vers=1.0), reconnects no longer reset the
Unix Extensions (SetFSInfo SET_FILE_UNIX_BASIC) after tcon so most
operations (e.g. stat, ls, open, statfs) will fail continuously
with:
        "Operation not supported"
if the connection ever resets (e.g. due to brief network disconnect)

Cc: stable@vger.kernel.org
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/connect.c