diff options
author | Volker Lendecke <vl@samba.org> | 2019-08-07 22:00:11 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-08-09 22:48:46 +0000 |
commit | 2c20954af5d55ed3537de7d3b22340c8305ad1a3 (patch) | |
tree | 6909e6065dcb081cdca51251c5fef94f6462dfda /examples | |
parent | c2a779f50e8694f20fb06b6e05bc24678d47b7d6 (diff) | |
download | samba-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 'examples')
-rw-r--r-- | examples/VFS/skel_opaque.c | 2 | ||||
-rw-r--r-- | examples/VFS/skel_transparent.c | 2 |
2 files changed, 2 insertions, 2 deletions
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, |