smb3: make query_on_disk_id open context consistent and move to common code
authorSteve French <stfrench@microsoft.com>
Fri, 28 Apr 2023 05:21:10 +0000 (00:21 -0500)
committerSteve French <stfrench@microsoft.com>
Sat, 29 Apr 2023 03:50:16 +0000 (22:50 -0500)
commit1149c8467ddebfb6bb9aab37830f70a49cab7085
treef2e02a42f7939624ff0b18c5574d585b633e7bd7
parentc09ba02cfaf35732f7e36f291dd9679a6f109a12
smb3: make query_on_disk_id open context consistent and move to common code

cifs and ksmbd were using a slightly different version of the query_on_disk_id
struct which could be confusing. Use the ksmbd version of this struct, and
move it to common code.

Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h
fs/ksmbd/smb2pdu.h
fs/smbfs_common/smb2pdu.h