]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ksmbd: rename smb2_get_msg to smb_get_msg
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 19 Dec 2025 01:04:25 +0000 (10:04 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 22 Dec 2025 01:20:46 +0000 (19:20 -0600)
commit0b444cfd8b74ebce421ccd96eac9c495e536c92e
tree38824f6d2a8640325278a6a8e85aa65575fafd53
parent0a70cac7896712a08e3cd22c16f44be976d40dbf
ksmbd: rename smb2_get_msg to smb_get_msg

With the removal of the RFC1002 length field from the SMB header,
smb2_get_msg is now used to get the smb1 request from the request buffer.
Since this function is no longer exclusive to smb2 and now supports smb1
as well, This patch rename it to smb_get_msg to better reflect its usage.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/auth.c
fs/smb/server/connection.c
fs/smb/server/oplock.c
fs/smb/server/server.c
fs/smb/server/smb2pdu.c
fs/smb/server/smb2pdu.h
fs/smb/server/smb_common.c
fs/smb/server/smb_common.h