smbd: Simplify symlink_target_below_conn()
authorVolker Lendecke <vl@samba.org>
Sun, 4 Dec 2022 11:16:39 +0000 (12:16 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Dec 2022 16:06:51 +0000 (16:06 +0000)
commit6ea1af287eef832641464c6f764ea84a484a06f7
treef68a1a20d73b5e6b13ef844ce6f9059ff5c83821
parentf31fb6e1ad0664fdba351822ec754c0d1b771657
smbd: Simplify symlink_target_below_conn()

readlink_talloc() deals exactly the same way with a NULL relname

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Dec  5 16:06:51 UTC 2022 on sn-devel-184
source3/smbd/open.c