From 2c20954af5d55ed3537de7d3b22340c8305ad1a3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 7 Aug 2019 22:00:11 +0200 Subject: smbd: Make "lease" const in SMB_VFS_CREATE_FILE() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- examples/VFS/skel_opaque.c | 2 +- examples/VFS/skel_transparent.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 4b2b11a1aaa..55b576302a1 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -203,7 +203,7 @@ static NTSTATUS skel_create_file(struct vfs_handle_struct *handle, 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/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c index 0de01ac9d54..eae2e9d5027 100644 --- a/examples/VFS/skel_transparent.c +++ b/examples/VFS/skel_transparent.c @@ -198,7 +198,7 @@ static NTSTATUS skel_create_file(struct vfs_handle_struct *handle, 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, -- cgit v1.2.1