]> www.infradead.org Git - users/hch/xfs.git/commit
smb: client: get rid of kstrdup() in get_ses_refpath()
authorPaulo Alcantara <pc@manguebit.com>
Wed, 5 Feb 2025 16:41:32 +0000 (13:41 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 6 Feb 2025 03:09:07 +0000 (21:09 -0600)
commitbe1963dd4ce4e467f062b023d1e696f40c926a04
tree2845cecb282c6ae83cb4dfac4aea96809ba65be3
parent773dc23ff81838b6f74d7fabba5a441cc6a93982
smb: client: get rid of kstrdup() in get_ses_refpath()

After commit 36008fe6e3dc ("smb: client: don't try following DFS links
in cifs_tree_connect()"), TCP_Server_Info::leaf_fullpath will no
longer be changed, so there is no need to kstrdup() it.

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