]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: move defines for ioctl protocol header and SMB2 sizes to smbfs_common
authorSteve French <stfrench@microsoft.com>
Sat, 26 Mar 2022 17:47:57 +0000 (12:47 -0500)
committerSteve French <stfrench@microsoft.com>
Sun, 27 Mar 2022 04:09:20 +0000 (23:09 -0500)
commit502ce1286ce4001271af92f1637fe7956049ea74
treeae2537f896a392b33de75b5ef33c7b2f8ca28a3c
parentbadb73c0994d40ea1f032de00032f05fcac78157
smb3: move defines for ioctl protocol header and SMB2 sizes to smbfs_common

The definitions for the ioctl SMB3 request and response as well
as length of various fields defined in the protocol documentation
were duplicated in fs/ksmbd and fs/cifs.  Move these to the common
code in fs/smbfs_common/smb2pdu.h

Reviewed-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h
fs/cifs/cifspdu.h
fs/cifs/smb2glob.h
fs/cifs/smb2pdu.h
fs/ksmbd/smb2pdu.c
fs/ksmbd/smb2pdu.h
fs/smbfs_common/smb2pdu.h