smbd: Fix returning symlink stat info in the NO_OPATH case
commit331a49ca394f185473d0b5ba1c566a32ab01b6ff
authorVolker Lendecke <vl@samba.org>
Sun, 4 Feb 2024 17:50:47 +0000 (4 18:50 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 28 Mar 2024 08:05:35 +0000 (28 08:05 +0000)
tree195feeed1c6c154943b5c9744b565756824e2d73
parenta2a77842a13c3c4a561ec8d5d298bbab60fafd1a
smbd: Fix returning symlink stat info in the NO_OPATH case

Our callers don't look at symlink_err's struct stat anymore, they look
at the fname's one since we return them properly even for symlinks. So
don't bother filling in symlink_err->st, nobody reads it anyways.

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