diff options
author | Volker Lendecke <vl@samba.org> | 2018-09-18 11:31:27 +0200 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2019-04-14 04:01:32 +0000 |
commit | 552faa910fdcfb95602440096ec3fac9e6015177 (patch) | |
tree | e384f8d413dad5fdb66047c43d7b06e8af9b53aa /source3/locking/proto.h | |
parent | c54d27b12c7a978671fcea752da552d84a7e3668 (diff) | |
download | samba-552faa910fdcfb95602440096ec3fac9e6015177.tar.gz |
smbd: Don't pass lease_idx down to set_share_mode()
Temporary patch to keep the code running. The new code in set_share_mode() will
leave again once the patchset to remove share_mode_lease and thus the lease_idx
in share_mode_entry goes away.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Diffstat (limited to 'source3/locking/proto.h')
-rw-r--r-- | source3/locking/proto.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h index 22b79669ff0..c021d978d44 100644 --- a/source3/locking/proto.h +++ b/source3/locking/proto.h @@ -173,9 +173,13 @@ void get_file_infos(struct file_id id, struct timespec *write_time); bool is_valid_share_mode_entry(const struct share_mode_entry *e); bool share_mode_stale_pid(struct share_mode_data *d, uint32_t idx); -bool set_share_mode(struct share_mode_lock *lck, struct files_struct *fsp, - uid_t uid, uint64_t mid, uint16_t op_type, - uint32_t lease_idx); +bool set_share_mode(struct share_mode_lock *lck, + struct files_struct *fsp, + uid_t uid, + uint64_t mid, + uint16_t op_type, + const struct GUID *client_guid, + const struct smb2_lease_key *lease_key); struct share_mode_entry *find_share_mode_entry(struct share_mode_lock *lck, files_struct *fsp); void remove_stale_share_mode_entries(struct share_mode_data *d); |