1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3: smbd: Add "enum file_close_type close_type" parameter to file_close_conn().

Not yet used.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15128

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
Jeremy Allison 2022-08-17 11:39:36 -07:00 committed by Noel Power
parent 9203d17106
commit 7005a6354d
3 changed files with 3 additions and 3 deletions

View File

@ -1339,7 +1339,7 @@ static struct files_struct *file_close_conn_fn(
return NULL;
}
void file_close_conn(connection_struct *conn)
void file_close_conn(connection_struct *conn, enum file_close_type close_type)
{
struct file_close_conn_state state = { .conn = conn };

View File

@ -383,7 +383,7 @@ void fsp_set_gen_id(files_struct *fsp);
NTSTATUS file_new(struct smb_request *req, connection_struct *conn,
files_struct **result);
NTSTATUS fsp_bind_smb(struct files_struct *fsp, struct smb_request *req);
void file_close_conn(connection_struct *conn);
void file_close_conn(connection_struct *conn, enum file_close_type close_type);
bool file_init_global(void);
bool file_init(struct smbd_server_connection *sconn);
void file_close_user(struct smbd_server_connection *sconn, uint64_t vuid);

View File

@ -941,7 +941,7 @@ void close_cnum(connection_struct *conn,
const struct loadparm_substitution *lp_sub =
loadparm_s3_global_substitution();
file_close_conn(conn);
file_close_conn(conn, close_type);
change_to_root_user();