]> www.infradead.org Git - users/dwmw2/linux.git/commit
smb: client: get rid of TCP_Server_Info::refpath_lock
authorPaulo Alcantara <pc@manguebit.com>
Fri, 17 Jan 2025 20:38:56 +0000 (17:38 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 23 Jan 2025 02:13:49 +0000 (20:13 -0600)
commit0a9b00e5e5c5fc3c77cbfd01e6ffbe77fc7fe74a
treed7d3c22f0337916966036ae3f7bcc2e0de4e8109
parent2948f0d4db40d839db2c1d141121c2e4e12a6faa
smb: client: get rid of TCP_Server_Info::refpath_lock

TCP_Server_Info::leaf_fullpath is allocated in cifs_get_tcp_session()
and never changed afterwards, so there is no need to serialize its
access.

Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsglob.h
fs/smb/client/connect.c
fs/smb/client/dfs_cache.c