smbd: Simplify smbd_smb2_query_directory_send()
commit48464c66f8f1259b21082ba9d0d63b3f034332b7
authorVolker Lendecke <vl@samba.org>
Wed, 9 Oct 2024 05:35:26 +0000 (9 07:35 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 12:09:35 +0000 (12 12:09 +0000)
treec99a8f54e9604dff6b078c1c9b405e9b395a56ba
parent774005be76617771ee87d973bf012cc29d89d514
smbd: Simplify smbd_smb2_query_directory_send()

Use reopen_from_fsp(), this will use the /proc/self/fd/<fd> trick if
available, no need to go through non_widelink_open

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