]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Make "lease" const in open_file_ntcreate()
authorVolker Lendecke <vl@samba.org>
Wed, 7 Aug 2019 19:30:56 +0000 (21:30 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 9 Aug 2019 22:48:46 +0000 (22:48 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c

index c10c252e2f82e6dfff15d9fa26a214eec0d9989a..e9980018207d0d75a19137696842f6619b1578ce 100644 (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,