smbd: Make sure smb_fname->st is valid in smbd_dirptr_get_entry
commit3f97b6a4f7ed3240068fbfc1441f5fd7c93a02f3
authorVolker Lendecke <vl@samba.org>
Thu, 22 Jun 2023 07:52:09 +0000 (22 09:52 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 23 Jun 2023 17:34:30 +0000 (23 17:34 +0000)
tree7972402ca5656ecd5612665acf3285bd22340a7d
parentc837ecf442cfb8e19abaa917ff61f323a41829fd
smbd: Make sure smb_fname->st is valid in smbd_dirptr_get_entry

This simplifies the two mode_fn()s we have.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dir.c
source3/smbd/smb1_reply.c
source3/smbd/smb2_trans2.c