]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs: Use the getwd-cache only if we have a valid tcon
authorVolker Lendecke <vl@samba.org>
Mon, 11 Nov 2024 15:19:17 +0000 (16:19 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 13:44:32 +0000 (13:44 +0000)
commit142a78eb24a7fb62ca52ca76d878fd19f5caeed9
treebe67f135db33c621ce099b5536e36956e3e82ad6
parentc31e7aecbab5e8e845dc3bc95560f8543abbaeff
vfs: Use the getwd-cache only if we have a valid tcon

A valid tcon will have changed fsp_get_pathref_fd() to AT_FDCWD, -100
on Linux.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/vfs.c