diff options
author | Steve French <stfrench@microsoft.com> | 2023-04-28 07:21:10 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-04-29 05:50:16 +0200 |
commit | 1149c8467ddebfb6bb9aab37830f70a49cab7085 (patch) | |
tree | f2e02a42f7939624ff0b18c5574d585b633e7bd7 /fs/cifs/smb2pdu.c | |
parent | SMB3.1.1: add new tree connect ShareFlags (diff) | |
download | linux-1149c8467ddebfb6bb9aab37830f70a49cab7085.tar.xz linux-1149c8467ddebfb6bb9aab37830f70a49cab7085.zip |
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/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 281e0b12658d..0521aa1da644 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -2063,7 +2063,7 @@ create_reconnect_durable_buf(struct cifs_fid *fid) static void parse_query_id_ctxt(struct create_context *cc, struct smb2_file_all_info *buf) { - struct create_on_disk_id *pdisk_id = (struct create_on_disk_id *)cc; + struct create_disk_id_rsp *pdisk_id = (struct create_disk_id_rsp *)cc; cifs_dbg(FYI, "parse query id context 0x%llx 0x%llx\n", pdisk_id->DiskFileId, pdisk_id->VolumeId); |