summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_unityed_media.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-08-07 22:00:11 +0200
committerJeremy Allison <jra@samba.org>2019-08-09 22:48:46 +0000
commit2c20954af5d55ed3537de7d3b22340c8305ad1a3 (patch)
tree6909e6065dcb081cdca51251c5fef94f6462dfda /source3/modules/vfs_unityed_media.c
parentc2a779f50e8694f20fb06b6e05bc24678d47b7d6 (diff)
downloadsamba-2c20954af5d55ed3537de7d3b22340c8305ad1a3.tar.gz
smbd: Make "lease" const in SMB_VFS_CREATE_FILE()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules/vfs_unityed_media.c')
-rw-r--r--source3/modules/vfs_unityed_media.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_unityed_media.c b/source3/modules/vfs_unityed_media.c
index 43285191cd2..cc531d46701 100644
--- a/source3/modules/vfs_unityed_media.c
+++ b/source3/modules/vfs_unityed_media.c
@@ -907,7 +907,7 @@ static NTSTATUS um_create_file(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,