s3:smbd: let call_trans2findfirst() use file_free() instead of fsp_free()
commite1a10b58171ec5a1b41ab99962bc6eebb3b427e3
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Dec 2020 12:28:40 +0000 (23 13:28 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 14 Jan 2021 11:30:38 +0000 (14 11:30 +0000)
tree871df18eaab06355a9e7ed7f51309c9781fa5775
parent9b1dc2a4ca61aaa96c3e731a7a59da2a21aa522d
s3:smbd: let call_trans2findfirst() use file_free() instead of fsp_free()

This makes sure we call vfs_remove_all_fsp_extensions() before
fsp_free() is called from within file_free(). And allows us to
make 'fsp_free()' static in the next commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/trans2.c