cifs: remove unnecessary locking around sequence_number
authorJeff Layton <jlayton@redhat.com>
Fri, 7 Jan 2011 16:30:28 +0000 (11:30 -0500)
committerSteve French <sfrench@us.ibm.com>
Sun, 9 Jan 2011 23:38:20 +0000 (23:38 +0000)
commita0f8b4fb4cab4bc32caaf34fc0a0c9d5dd369186
tree2a49df40e7d76028155f7ced04d03e5acd402f68
parent197a1eeb7f89c1d2ba93713398e9655899aa973e
cifs: remove unnecessary locking around sequence_number

The server->sequence_number is already protected by the srv_mutex. The
GlobalMid_lock is unneeded here.

Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsencrypt.c
fs/cifs/cifsglob.h