]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: use correct lock type in cifs_reconnect()
authorPaulo Alcantara <pc@cjr.nz>
Thu, 21 Apr 2022 00:05:46 +0000 (21:05 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 21 Apr 2022 03:54:39 +0000 (22:54 -0500)
commitb1b135db869cc3156c50b144d919f434a832bd73
tree780c9c13af372e0e7baf42de0b1589d13c842198
parent504fcd47c7d5aa93f275c288b66b4cec5aac79c6
cifs: use correct lock type in cifs_reconnect()

TCP_Server_Info::origin_fullpath and TCP_Server_Info::leaf_fullpath
are protected by refpath_lock mutex and not cifs_tcp_ses_lock
spinlock.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c