smbd: Simplify readlink_talloc()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Dec 2022 11:14:12 +0000 (12:14 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Dec 2022 15:06:32 +0000 (15:06 +0000)
commitf31fb6e1ad0664fdba351822ec754c0d1b771657
treea575897b3963ec134f57eaec10d366a07daeecee
parent453f846e1897f7cbcc454f3095eb21d7ffb32be8
smbd: Simplify readlink_talloc()

SMB_VFS_READLINKAT() just looks at the basename, we can avoid the
relname being talloc'ed

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/files.c