1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

smbd: Make "lease" const in open_file_ntcreate()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2019-08-07 21:30:56 +02:00 committed by Jeremy Allison
parent d2aaef2e9c
commit 91b479fb6c

View File

@ -2964,7 +2964,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
uint32_t create_options, /* options such as delete on close. */
uint32_t new_dos_attributes, /* attributes used for new file. */
int oplock_request, /* internal Samba oplock codes. */
struct smb2_lease *lease,
const struct smb2_lease *lease,
/* Information (FILE_EXISTS etc.) */
uint32_t private_flags, /* Samba specific flags. */
int *pinfo,