Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.35, v6.6.34, v6.6.33, v6.6.32, v6.6.31, v6.6.30, v6.6.29 |
|
#
abea3c9a |
| 27-Apr-2024 |
Steve French <stfrench@microsoft.com> |
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNI
smb: client: introduce cifs_sfu_make_node()
[ Upstream commit b0348e459c836abdb0f4b967e006d15c77cf1c87 ]
Remove duplicate code and add new helper for creating special files in SFU (Services for UNIX) format that can be shared by SMB1+ code.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.28, v6.6.27, v6.6.26, v6.6.25, v6.6.24 |
|
#
6f17163b |
| 02-Apr-2024 |
Ritvik Budhiraja <rbudhiraja@microsoft.com> |
smb3: retrying on failed server close
commit 173217bd73365867378b5e75a86f0049e1069ee8 upstream.
In the current implementation, CIFS close sends a close to the server and does not check for the succ
smb3: retrying on failed server close
commit 173217bd73365867378b5e75a86f0049e1069ee8 upstream.
In the current implementation, CIFS close sends a close to the server and does not check for the success of the server close. This patch adds functionality to check for server close return status and retries in case of an EBUSY or EAGAIN error.
This can help avoid handle leaks
Cc: stable@vger.kernel.org Signed-off-by: Ritvik Budhiraja <rbudhiraja@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...
|
Revision tags: v6.6.23, v6.6.16, v6.6.15, v6.6.14, v6.6.13, v6.6.12, v6.6.11, v6.6.10, v6.6.9, v6.6.8, v6.6.7, v6.6.6, v6.6.5, v6.6.4, v6.6.3 |
|
#
df32e887 |
| 21-Nov-2023 |
Paulo Alcantara <pc@manguebit.com> |
smb: client: set correct file type from NFS reparse points
[ Upstream commit 45e724022e2704b5a5193fd96f378822b0448e07 ]
Handle all file types in NFS reparse points as specified in MS-FSCC 2.1.2.6 N
smb: client: set correct file type from NFS reparse points
[ Upstream commit 45e724022e2704b5a5193fd96f378822b0448e07 ]
Handle all file types in NFS reparse points as specified in MS-FSCC 2.1.2.6 Network File System (NFS) Reparse Data Buffer.
The client is now able to set all file types based on the parsed NFS reparse point, which used to support only symlinks. This works for SMB1+.
Before patch:
$ mount.cifs //srv/share /mnt -o ... $ ls -l /mnt ls: cannot access 'block': Operation not supported ls: cannot access 'char': Operation not supported ls: cannot access 'fifo': Operation not supported ls: cannot access 'sock': Operation not supported total 1 l????????? ? ? ? ? ? block l????????? ? ? ? ? ? char -rwxr-xr-x 1 root root 5 Nov 18 23:22 f0 l????????? ? ? ? ? ? fifo l--------- 1 root root 0 Nov 18 23:23 link -> f0 l????????? ? ? ? ? ? sock
After patch:
$ mount.cifs //srv/share /mnt -o ... $ ls -l /mnt total 1 brwxr-xr-x 1 root root 123, 123 Nov 18 00:34 block crwxr-xr-x 1 root root 1234, 1234 Nov 18 00:33 char -rwxr-xr-x 1 root root 5 Nov 18 23:22 f0 prwxr-xr-x 1 root root 0 Nov 18 23:23 fifo lrwxr-xr-x 1 root root 0 Nov 18 23:23 link -> f0 srwxr-xr-x 1 root root 0 Nov 19 2023 sock
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
#
4d07e5df |
| 21-Nov-2023 |
Paulo Alcantara <pc@manguebit.com> |
smb: client: introduce ->parse_reparse_point()
[ Upstream commit 539aad7f14dab7f947e5ab81901c0b20513a50db ]
Parse reparse point into cifs_open_info_data structure and feed it through cifs_open_info
smb: client: introduce ->parse_reparse_point()
[ Upstream commit 539aad7f14dab7f947e5ab81901c0b20513a50db ]
Parse reparse point into cifs_open_info_data structure and feed it through cifs_open_info_to_fattr().
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
#
d5c959a1 |
| 21-Nov-2023 |
Paulo Alcantara <pc@manguebit.com> |
smb: client: implement ->query_reparse_point() for SMB1
[ Upstream commit ed3e0a149b58ea8cfd10cc4f7cefb39877ff07ac ]
Reparse points are not limited to symlinks, so implement ->query_reparse_point()
smb: client: implement ->query_reparse_point() for SMB1
[ Upstream commit ed3e0a149b58ea8cfd10cc4f7cefb39877ff07ac ]
Reparse points are not limited to symlinks, so implement ->query_reparse_point() in order to handle different file types.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
show more ...
|
Revision tags: v6.6.2, v6.5.11, v6.6.1, v6.5.10, v6.6, v6.5.9, v6.5.8, v6.5.7, v6.5.6, v6.5.5, v6.5.4, v6.5.3, v6.5.2, v6.1.51, v6.5.1, v6.1.50, v6.5, v6.1.49, v6.1.48 |
|
#
9a49e221 |
| 17-Aug-2023 |
Paulo Alcantara <pc@manguebit.com> |
smb: client: do not query reparse points twice on symlinks
Save a roundtrip by getting the reparse point tag and buffer at once in ->query_reparse_point() and then pass the buffer down to ->query_sy
smb: client: do not query reparse points twice on symlinks
Save a roundtrip by getting the reparse point tag and buffer at once in ->query_reparse_point() and then pass the buffer down to ->query_symlink().
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
show more ...
|
#
8b4e285d |
| 17-Aug-2023 |
Paulo Alcantara <pc@manguebit.com> |
smb: client: move some params to cifs_open_info_data
Instead of passing @adjust_tz and some reparse point related fields as parameters in ->query_path_info() and {smb311_posix,cifs}_info_to_fattr()
smb: client: move some params to cifs_open_info_data
Instead of passing @adjust_tz and some reparse point related fields as parameters in ->query_path_info() and {smb311_posix,cifs}_info_to_fattr() calls, move them to cifs_open_info_data structure as they can be easily accessed through @data.
No functional changes.
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
show more ...
|
Revision tags: v6.1.46, v6.1.45, v6.1.44, v6.1.43, v6.1.42, v6.1.41, v6.1.40, v6.1.39, v6.1.38, v6.1.37, v6.1.36, v6.4, v6.1.35, v6.1.34, v6.1.33, v6.1.32, v6.1.31, v6.1.30 |
|
#
38c8a9a5 |
| 21-May-2023 |
Steve French <stfrench@microsoft.com> |
smb: move client and server files to common directory fs/smb
Move CIFS/SMB3 related client and server files (cifs.ko and ksmbd.ko and helper modules) to new fs/smb subdirectory:
fs/cifs --> fs/s
smb: move client and server files to common directory fs/smb
Move CIFS/SMB3 related client and server files (cifs.ko and ksmbd.ko and helper modules) to new fs/smb subdirectory:
fs/cifs --> fs/smb/client fs/ksmbd --> fs/smb/server fs/smbfs_common --> fs/smb/common
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
show more ...
|