Commit 5e51224d authored by ChenXiaoSong's avatar ChenXiaoSong Committed by Steve French

smb/client: fix typo: GlobalMid_Sem -> GlobalMid_Lock

The comments have typos, fix that to not confuse readers.
Signed-off-by: default avatarChenXiaoSong <chenxiaosong@kylinos.cn>
Reviewed-by: Namjae Jeon <linkinjeon@kernel.org
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent ec686804
...@@ -75,9 +75,9 @@ unsigned int sign_CIFS_PDUs = 1; ...@@ -75,9 +75,9 @@ unsigned int sign_CIFS_PDUs = 1;
/* /*
* Global transaction id (XID) information * Global transaction id (XID) information
*/ */
unsigned int GlobalCurrentXid; /* protected by GlobalMid_Sem */ unsigned int GlobalCurrentXid; /* protected by GlobalMid_Lock */
unsigned int GlobalTotalActiveXid; /* prot by GlobalMid_Sem */ unsigned int GlobalTotalActiveXid; /* prot by GlobalMid_Lock */
unsigned int GlobalMaxActiveXid; /* prot by GlobalMid_Sem */ unsigned int GlobalMaxActiveXid; /* prot by GlobalMid_Lock */
spinlock_t GlobalMid_Lock; /* protects above & list operations on midQ entries */ spinlock_t GlobalMid_Lock; /* protects above & list operations on midQ entries */
/* /*
......
...@@ -2017,9 +2017,9 @@ extern spinlock_t cifs_tcp_ses_lock; ...@@ -2017,9 +2017,9 @@ extern spinlock_t cifs_tcp_ses_lock;
/* /*
* Global transaction id (XID) information * Global transaction id (XID) information
*/ */
extern unsigned int GlobalCurrentXid; /* protected by GlobalMid_Sem */ extern unsigned int GlobalCurrentXid; /* protected by GlobalMid_Lock */
extern unsigned int GlobalTotalActiveXid; /* prot by GlobalMid_Sem */ extern unsigned int GlobalTotalActiveXid; /* prot by GlobalMid_Lock */
extern unsigned int GlobalMaxActiveXid; /* prot by GlobalMid_Sem */ extern unsigned int GlobalMaxActiveXid; /* prot by GlobalMid_Lock */
extern spinlock_t GlobalMid_Lock; /* protects above & list operations on midQ entries */ extern spinlock_t GlobalMid_Lock; /* protects above & list operations on midQ entries */
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment