From: Jeff Layton Date: Tue, 1 May 2012 21:41:16 +0000 (-0400) Subject: cifs: add missing initialization of server->req_lock X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58fa015f611b51e1f501b048bc5ac263c78852f0;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git cifs: add missing initialization of server->req_lock Cc: Pavel Shilovsky Signed-off-by: Jeff Layton Signed-off-by: Steve French --- 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) tcp_ses->session_estab = false; tcp_ses->sequence_number = 0; tcp_ses->lstrp = jiffies; + spin_lock_init(&tcp_ses->req_lock); INIT_LIST_HEAD(&tcp_ses->tcp_ses_list); INIT_LIST_HEAD(&tcp_ses->smb_ses_list); INIT_DELAYED_WORK(&tcp_ses->echo, cifs_echo_request);