1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

s3: smbd: Make change_file_owner_to_parent() static.

Only used inside open.c.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Jeremy Allison 2021-06-09 12:15:42 -07:00 committed by Ralph Boehme
parent f9022f658b
commit d6f6e5f7eb
2 changed files with 1 additions and 4 deletions

View File

@ -939,7 +939,7 @@ NTSTATUS fd_close(files_struct *fsp)
Do this by fd if possible.
****************************************************************************/
void change_file_owner_to_parent(connection_struct *conn,
static void change_file_owner_to_parent(connection_struct *conn,
struct smb_filename *smb_fname_parent,
files_struct *fsp)
{

View File

@ -744,9 +744,6 @@ NTSTATUS fd_openat(const struct files_struct *dirfsp,
files_struct *fsp,
int flags, mode_t mode);
NTSTATUS fd_close(files_struct *fsp);
void change_file_owner_to_parent(connection_struct *conn,
struct smb_filename *inherit_from_dir,
files_struct *fsp);
bool is_oplock_stat_open(uint32_t access_mask);
bool is_lease_stat_open(uint32_t access_mask);
NTSTATUS send_break_message(struct messaging_context *msg_ctx,