aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 945b2202275f..1f32a2893b5f 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -633,11 +633,11 @@ incomplete_rcv:
633 mid_entry->largeBuf = isLargeBuf; 633 mid_entry->largeBuf = isLargeBuf;
634multi_t2_fnd: 634multi_t2_fnd:
635 mid_entry->midState = MID_RESPONSE_RECEIVED; 635 mid_entry->midState = MID_RESPONSE_RECEIVED;
636 list_del_init(&mid_entry->qhead);
637 mid_entry->callback(mid_entry);
638#ifdef CONFIG_CIFS_STATS2 636#ifdef CONFIG_CIFS_STATS2
639 mid_entry->when_received = jiffies; 637 mid_entry->when_received = jiffies;
640#endif 638#endif
639 list_del_init(&mid_entry->qhead);
640 mid_entry->callback(mid_entry);
641 break; 641 break;
642 } 642 }
643 mid_entry = NULL; 643 mid_entry = NULL;