summaryrefslogtreecommitdiff
path: root/fs/ksmbd/smb2pdu.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2023-04-28 08:21:10 +0300
committerSteve French <stfrench@microsoft.com>2023-04-29 06:50:16 +0300
commit1149c8467ddebfb6bb9aab37830f70a49cab7085 (patch)
treef2e02a42f7939624ff0b18c5574d585b633e7bd7 /fs/ksmbd/smb2pdu.h
parentc09ba02cfaf35732f7e36f291dd9679a6f109a12 (diff)
downloadlinux-1149c8467ddebfb6bb9aab37830f70a49cab7085.tar.xz
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>
Diffstat (limited to 'fs/ksmbd/smb2pdu.h')
-rw-r--r--fs/ksmbd/smb2pdu.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/ksmbd/smb2pdu.h b/fs/ksmbd/smb2pdu.h
index 9420dd2813fb..bcf71fd4dc1e 100644
--- a/fs/ksmbd/smb2pdu.h
+++ b/fs/ksmbd/smb2pdu.h
@@ -144,14 +144,6 @@ struct create_mxac_rsp {
__le32 MaximalAccess;
} __packed;
-struct create_disk_id_rsp {
- struct create_context ccontext;
- __u8 Name[8];
- __le64 DiskFileId;
- __le64 VolumeId;
- __u8 Reserved[16];
-} __packed;
-
/* equivalent of the contents of SMB3.1.1 POSIX open context response */
struct create_posix_rsp {
struct create_context ccontext;