diff options
author | Pali Rohár <pali@kernel.org> | 2024-12-28 21:09:54 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-04-01 01:54:17 -0500 |
commit | 4236ac9fe5b8b42756070d4abfb76fed718e87c2 (patch) | |
tree | c1cb312d0397a4c5fd4c253e856e29e86dc09ea8 /net/lapb/lapb_timer.c | |
parent | 6aa9f1c9cd09c1c39a35da4fe5f43446ec18ce1e (diff) | |
download | linux-4236ac9fe5b8b42756070d4abfb76fed718e87c2.tar.gz linux-4236ac9fe5b8b42756070d4abfb76fed718e87c2.tar.bz2 linux-4236ac9fe5b8b42756070d4abfb76fed718e87c2.zip |
cifs: Fix querying and creating MF symlinks over SMB1
Old SMB1 servers without CAP_NT_SMBS do not support CIFS_open() function
and instead SMBLegacyOpen() needs to be used. This logic is already handled
in cifs_open_file() function, which is server->ops->open callback function.
So for querying and creating MF symlinks use open callback function instead
of CIFS_open() function directly.
This change fixes querying and creating new MF symlinks on Windows 98.
Currently cifs_query_mf_symlink() is not able to detect MF symlink and
cifs_create_mf_symlink() is failing with EIO error.
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions