smb3: move defines for query info and query fsinfo to smbfs_common
authorSteve French <stfrench@microsoft.com>
Sat, 26 Mar 2022 21:17:03 +0000 (16:17 -0500)
committerSteve French <stfrench@microsoft.com>
Sun, 27 Mar 2022 04:09:51 +0000 (23:09 -0500)
commitbe1350004392961f4390f48c8001350712ed55f1
tree83856b4e8cf6111ab20b98832e215312ff1191b5
parent15e7b6d753b815b19b375dcd4593534c0f157c66
smb3: move defines for query info and query fsinfo to smbfs_common

Includes moving to common code (from cifs and ksmbd protocol related
headers)
- query and query directory info levels and structs
- set info structs
- SMB2 lock struct and flags
- SMB2 echo req

Also shorten a few flag names (e.g. SMB2_LOCKFLAG_EXCLUSIVE_LOCK
to SMB2_LOCKFLAG_EXCLUSIVE)

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