diff options
author | Ralph Boehme <slow@samba.org> | 2017-03-04 13:55:55 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-03-10 03:28:25 +0100 |
commit | 6924e72ade20e98ac470fcb6ba7120c61b06bb0f (patch) | |
tree | f9ec56a8b5e1a59f0f924922d250868ca820627a /source3/smbd/proto.h | |
parent | fe473f805af885a23bb16046c9d26d756e164f30 (diff) | |
download | samba-6924e72ade20e98ac470fcb6ba7120c61b06bb0f.tar.gz |
s3/smbd: add const to get_lease_type() args
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 7ccb12a6a3c..06ab56f535f 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -704,7 +704,8 @@ NTSTATUS get_relative_fid_filename(connection_struct *conn, /* The following definitions come from smbd/oplock.c */ uint32_t map_oplock_to_lease_type(uint16_t op_type); -uint32_t get_lease_type(struct share_mode_data *d, struct share_mode_entry *e); +uint32_t get_lease_type(const struct share_mode_data *d, + const struct share_mode_entry *e); bool update_num_read_oplocks(files_struct *fsp, struct share_mode_lock *lck); void break_kernel_oplock(struct messaging_context *msg_ctx, files_struct *fsp); |