cifs: missing lock when updating session status
Coverity noted a place where we were not grabbing
the ses_lock when setting (and checking) ses_status.
Addresses-Coverity: 1536833 ("Data race condition (MISSING_LOCK)")
Reviewed-by:
Paulo Alcantara (SUSE) <pc@manguebit.com>
Reviewed-by:
Bharath SM <bharathsm@microsoft.com>
Signed-off-by:
Steve French <stfrench@microsoft.com>
Loading
Please sign in to comment