mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3:smbd: make fsp_free() static, it should only ever be called by file_free()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
81b6931be0
commit
7dc9a84bb5
@ -915,7 +915,7 @@ bool file_find_subpath(files_struct *dir_fsp)
|
||||
Free up a fsp.
|
||||
****************************************************************************/
|
||||
|
||||
void fsp_free(files_struct *fsp)
|
||||
static void fsp_free(files_struct *fsp)
|
||||
{
|
||||
struct smbd_server_connection *sconn = fsp->conn->sconn;
|
||||
|
||||
|
@ -427,7 +427,6 @@ struct files_struct *file_find_one_fsp_from_lease_key(
|
||||
struct smbd_server_connection *sconn,
|
||||
const struct smb2_lease_key *lease_key);
|
||||
bool file_find_subpath(files_struct *dir_fsp);
|
||||
void fsp_free(files_struct *fsp);
|
||||
void file_free(struct smb_request *req, files_struct *fsp);
|
||||
files_struct *file_fsp(struct smb_request *req, uint16_t fid);
|
||||
struct files_struct *file_fsp_get(struct smbd_smb2_request *smb2req,
|
||||
|
Loading…
Reference in New Issue
Block a user