summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-05-01 17:41:16 -0400
committerSteve French <sfrench@us.ibm.com>2012-05-01 22:29:51 -0500
commit58fa015f611b51e1f501b048bc5ac263c78852f0 (patch)
treeb4a8723d1ddb9e943c5954dd65fe9e3e3c1089e5 /fs
parent8f71465c19ffefbfd0da3c1f5dc172b4bce05e93 (diff)
downloadop-kernel-dev-58fa015f611b51e1f501b048bc5ac263c78852f0.zip
op-kernel-dev-58fa015f611b51e1f501b048bc5ac263c78852f0.tar.gz
cifs: add missing initialization of server->req_lock
Cc: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 6ce888b..a75902b 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);
OpenPOWER on IntegriCloud