From: Volker Lendecke Date: Wed, 7 Aug 2019 19:41:22 +0000 (+0200) Subject: smbd: Make "lease" const in create_file_default() X-Git-Tag: tdb-1.4.2~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c2a779f50e8694f20fb06b6e05bc24678d47b7d6;p=thirdparty%2Fsamba.git smbd: Make "lease" const in create_file_default() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index a2336d7819b..d07bebc376d 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -5512,7 +5512,7 @@ NTSTATUS create_file_default(connection_struct *conn, uint32_t create_options, uint32_t file_attributes, uint32_t oplock_request, - struct smb2_lease *lease, + const struct smb2_lease *lease, uint64_t allocation_size, uint32_t private_flags, struct security_descriptor *sd, diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 0fde9b78fb0..5947d9ab6f2 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -703,7 +703,7 @@ NTSTATUS create_file_default(connection_struct *conn, uint32_t create_options, uint32_t file_attributes, uint32_t oplock_request, - struct smb2_lease *lease, + const struct smb2_lease *lease, uint64_t allocation_size, uint32_t private_flags, struct security_descriptor *sd,