]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: move some SMB1 definitions into common/smb1pdu.h
authorZhangGuoDong <zhangguodong@kylinos.cn>
Tue, 2 Dec 2025 07:14:17 +0000 (15:14 +0800)
committerSteve French <stfrench@microsoft.com>
Tue, 16 Dec 2025 23:43:01 +0000 (17:43 -0600)
commit94d5b8dbc5d9caa8e01c8fab8d5ed56e843ff40e
tree9f43da19d18ef6f2e183ca738edce1d1193babda
parent05f5e355cf783b30bd6eb3dec17ed1a8b3cfa95c
smb: move some SMB1 definitions into common/smb1pdu.h

These definitions are only used by SMB1, so move them into the new
common/smb1pdu.h.

KSMBD only implements SMB_COM_NEGOTIATE, see MS-SMB2 3.3.5.2.

Co-developed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: ZhangGuoDong <zhangguodong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifspdu.h
fs/smb/common/smb1pdu.h [new file with mode: 0644]
fs/smb/common/smb2pdu.h
fs/smb/common/smbglob.h
fs/smb/server/smb_common.h