File tree Expand file tree Collapse file tree 4 files changed +12
-18
lines changed Expand file tree Collapse file tree 4 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -2063,7 +2063,7 @@ create_reconnect_durable_buf(struct cifs_fid *fid)
2063
2063
static void
2064
2064
parse_query_id_ctxt (struct create_context * cc , struct smb2_file_all_info * buf )
2065
2065
{
2066
- struct create_on_disk_id * pdisk_id = (struct create_on_disk_id * )cc ;
2066
+ struct create_disk_id_rsp * pdisk_id = (struct create_disk_id_rsp * )cc ;
2067
2067
2068
2068
cifs_dbg (FYI , "parse query id context 0x%llx 0x%llx\n" ,
2069
2069
pdisk_id -> DiskFileId , pdisk_id -> VolumeId );
Original file line number Diff line number Diff line change @@ -170,15 +170,6 @@ struct durable_reconnect_context_v2 {
170
170
__le32 Flags ; /* see above DHANDLE_FLAG_PERSISTENT */
171
171
} __packed ;
172
172
173
- /* See MS-SMB2 2.2.14.2.9 */
174
- struct create_on_disk_id {
175
- struct create_context ccontext ;
176
- __u8 Name [8 ];
177
- __le64 DiskFileId ;
178
- __le64 VolumeId ;
179
- __u32 Reserved [4 ];
180
- } __packed ;
181
-
182
173
/* See MS-SMB2 2.2.14.2.12 */
183
174
struct durable_reconnect_context_v2_rsp {
184
175
__le32 Timeout ;
Original file line number Diff line number Diff line change @@ -144,14 +144,6 @@ struct create_mxac_rsp {
144
144
__le32 MaximalAccess ;
145
145
} __packed ;
146
146
147
- struct create_disk_id_rsp {
148
- struct create_context ccontext ;
149
- __u8 Name [8 ];
150
- __le64 DiskFileId ;
151
- __le64 VolumeId ;
152
- __u8 Reserved [16 ];
153
- } __packed ;
154
-
155
147
/* equivalent of the contents of SMB3.1.1 POSIX open context response */
156
148
struct create_posix_rsp {
157
149
struct create_context ccontext ;
Original file line number Diff line number Diff line change @@ -1181,13 +1181,15 @@ struct create_posix {
1181
1181
1182
1182
#define SMB2_LEASE_KEY_SIZE 16
1183
1183
1184
+ /* See MS-SMB2 2.2.13.2.8 */
1184
1185
struct lease_context {
1185
1186
__u8 LeaseKey [SMB2_LEASE_KEY_SIZE ];
1186
1187
__le32 LeaseState ;
1187
1188
__le32 LeaseFlags ;
1188
1189
__le64 LeaseDuration ;
1189
1190
} __packed ;
1190
1191
1192
+ /* See MS-SMB2 2.2.13.2.10 */
1191
1193
struct lease_context_v2 {
1192
1194
__u8 LeaseKey [SMB2_LEASE_KEY_SIZE ];
1193
1195
__le32 LeaseState ;
@@ -1211,6 +1213,15 @@ struct create_lease_v2 {
1211
1213
__u8 Pad [4 ];
1212
1214
} __packed ;
1213
1215
1216
+ /* See MS-SMB2 2.2.14.2.9 */
1217
+ struct create_disk_id_rsp {
1218
+ struct create_context ccontext ;
1219
+ __u8 Name [8 ];
1220
+ __le64 DiskFileId ;
1221
+ __le64 VolumeId ;
1222
+ __u8 Reserved [16 ];
1223
+ } __packed ;
1224
+
1214
1225
/* See MS-SMB2 2.2.31 and 2.2.32 */
1215
1226
struct smb2_ioctl_req {
1216
1227
struct smb2_hdr hdr ;
You can’t perform that action at this time.
0 commit comments