CIFS: Change mid_q_entry structure fields
to be protocol-unspecific and big enough to keep both CIFS and SMB2 values. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
This commit is contained in:

committed by
Jeff Layton

parent
243d04b6e6
commit
7c9421e1a9
@@ -268,7 +268,7 @@ __u64 GetNextMid(struct TCP_Server_Info *server)
|
||||
list_for_each_entry(mid_entry, &server->pending_mid_q, qhead) {
|
||||
++num_mids;
|
||||
if (mid_entry->mid == cur_mid &&
|
||||
mid_entry->midState == MID_REQUEST_SUBMITTED) {
|
||||
mid_entry->mid_state == MID_REQUEST_SUBMITTED) {
|
||||
/* This mid is in use, try a different one */
|
||||
collision = true;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user