diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-07 11:30:28 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-09 23:38:20 +0000 |
commit | a0f8b4fb4cab4bc32caaf34fc0a0c9d5dd369186 (patch) | |
tree | 2a49df40e7d76028155f7ced04d03e5acd402f68 /fs/cifs/cifsglob.h | |
parent | 197a1eeb7f89c1d2ba93713398e9655899aa973e (diff) | |
download | kernel_samsung_espresso10-a0f8b4fb4cab4bc32caaf34fc0a0c9d5dd369186.zip kernel_samsung_espresso10-a0f8b4fb4cab4bc32caaf34fc0a0c9d5dd369186.tar.gz kernel_samsung_espresso10-a0f8b4fb4cab4bc32caaf34fc0a0c9d5dd369186.tar.bz2 |
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>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index dfd2d46..e6590e6 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -207,7 +207,7 @@ struct TCP_Server_Info { char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlm, ntlmv2 etc */ /* 16th byte of RFC1001 workstation name is always null */ char workstation_RFC1001_name[RFC1001_NAME_LEN_WITH_NULL]; - __u32 sequence_number; /* needed for CIFS PDU signature */ + __u32 sequence_number; /* for signing, protected by srv_mutex */ struct session_key session_key; unsigned long lstrp; /* when we got last response from this server */ u16 dialect; /* dialect index that server chose */ |