diff options
-rw-r--r-- | fs/cifs/connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 6ce888b04dc8..a75902b28bf9 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -2183,6 +2183,7 @@ cifs_get_tcp_session(struct smb_vol *volume_info) | |||
2183 | tcp_ses->session_estab = false; | 2183 | tcp_ses->session_estab = false; |
2184 | tcp_ses->sequence_number = 0; | 2184 | tcp_ses->sequence_number = 0; |
2185 | tcp_ses->lstrp = jiffies; | 2185 | tcp_ses->lstrp = jiffies; |
2186 | spin_lock_init(&tcp_ses->req_lock); | ||
2186 | INIT_LIST_HEAD(&tcp_ses->tcp_ses_list); | 2187 | INIT_LIST_HEAD(&tcp_ses->tcp_ses_list); |
2187 | INIT_LIST_HEAD(&tcp_ses->smb_ses_list); | 2188 | INIT_LIST_HEAD(&tcp_ses->smb_ses_list); |
2188 | INIT_DELAYED_WORK(&tcp_ses->echo, cifs_echo_request); | 2189 | INIT_DELAYED_WORK(&tcp_ses->echo, cifs_echo_request); |