Skip to content
Commit 0060a4f2 authored by Steve French's avatar Steve French
Browse files

cifs: fix missing spinlock around update to ses->status



In the other places where we update ses->status we protect the
updates via GlobalMid_Lock. So to be consistent add the same
locking around it in cifs_put_smb_ses where it was missing.

Addresses-Coverity: 1268904 ("Data race condition")
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 162004a2
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