]> git.baikalelectronics.ru Git - kernel.git/commit
[smb3] move more common protocol header definitions to smbfs_common
authorSteve French <stfrench@microsoft.com>
Fri, 25 Mar 2022 03:09:29 +0000 (22:09 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 25 Mar 2022 15:40:56 +0000 (10:40 -0500)
commiteafa54b7e31074584f19c9481b1f19f475712507
treea17f870773cdf0f6122386602fda9a07413cf9aa
parent966d1aaf1e4dbb23a46b56d94a64df2952b63cf1
[smb3] move more common protocol header definitions to smbfs_common

We have duplicated definitions for various SMB3 PDUs in
fs/ksmbd and fs/cifs.  Some had already been moved to
fs/smbfs_common/smb2pdu.h

Move definitions for
- error response
- query info and various related protocol flags
- various lease handling flags and the create lease context

to smbfs_common/smb2pdu.h to reduce code duplication

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