diff options
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 1f22b85324cf..383e55fa7d26 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -361,9 +361,13 @@ cifs_demultiplex_thread(struct TCP_Server_Info *server) | |||
361 | mid_q_entry, | 361 | mid_q_entry, |
362 | qhead); | 362 | qhead); |
363 | 363 | ||
364 | if ((mid_entry->mid == smb_buffer->Mid) && (mid_entry->midState == MID_REQUEST_SUBMITTED)) { | 364 | if ((mid_entry->mid == smb_buffer->Mid) |
365 | cFYI(1, | 365 | && (mid_entry->midState == |
366 | (" Mid 0x%x matched - waking up ",mid_entry->mid)); | 366 | MID_REQUEST_SUBMITTED) |
367 | && (mid_entry->command == | ||
368 | smb_buffer->Command)) { | ||
369 | cFYI(1,("Found Mid 0x%x wake up" | ||
370 | ,mid_entry->mid)); | ||
367 | task_to_wake = mid_entry->tsk; | 371 | task_to_wake = mid_entry->tsk; |
368 | mid_entry->resp_buf = | 372 | mid_entry->resp_buf = |
369 | smb_buffer; | 373 | smb_buffer; |