From: Ralph Boehme Date: Mon, 26 Oct 2020 11:31:10 +0000 (+0100) Subject: smbd: pass private_flags to open_file() X-Git-Tag: samba-4.14.0rc1~375 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=241dd9d9a74970180b60a3521579c2f09ad06b3a;p=thirdparty%2Fsamba.git smbd: pass private_flags to open_file() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 09f05a0451b..2fff31c716f 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1191,6 +1191,7 @@ static NTSTATUS open_file(files_struct *fsp, mode_t unx_mode, uint32_t access_mask, /* client requested access mask. */ uint32_t open_access_mask, /* what we're actually using in the open. */ + uint32_t private_flags, bool *p_file_created) { connection_struct *conn = fsp->conn; @@ -3717,6 +3718,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, unx_mode, access_mask, open_access_mask, + private_flags, &new_file_created); if (NT_STATUS_EQUAL(fsp_open, NT_STATUS_NETWORK_BUSY)) { if (file_existed && S_ISFIFO(fsp->fsp_name->st.st_ex_mode)) {