From: Volker Lendecke Date: Wed, 7 Aug 2019 19:30:56 +0000 (+0200) Subject: smbd: Make "lease" const in open_file_ntcreate() X-Git-Tag: tdb-1.4.2~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91b479fb6cf7bc7bc2287e8f5cd835e4b1894458;p=thirdparty%2Fsamba.git smbd: Make "lease" const in open_file_ntcreate() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index c10c252e2f8..e9980018207 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -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,