diff options
author | Volker Lendecke <vl@samba.org> | 2018-09-19 17:42:51 +0200 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2019-04-14 05:18:14 +0000 |
commit | a187b7ef8fe91d227aeda5a2d9d4400d43c9d4ef (patch) | |
tree | d63cc5ca813f381935171bf988ad3cc8bc05cbf1 /source3/librpc/idl | |
parent | ad413ce91b31697f60c31394004272bcd6418596 (diff) | |
download | samba-a187b7ef8fe91d227aeda5a2d9d4400d43c9d4ef.tar.gz |
smbd: Remove share_mode_lease and the leases array from share_mode_entry
This also removes the temporary functions introduced during the patchset.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Sun Apr 14 05:18:14 UTC 2019 on sn-devel-144
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r-- | source3/librpc/idl/open_files.idl | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source3/librpc/idl/open_files.idl b/source3/librpc/idl/open_files.idl index a474da104c1..2f6f861b5e6 100644 --- a/source3/librpc/idl/open_files.idl +++ b/source3/librpc/idl/open_files.idl @@ -12,41 +12,10 @@ import "misc.idl"; interface open_files { - typedef [public,flag(NDR_PAHEX)] struct { - GUID client_guid; - smb2_lease_key lease_key; - smb2_lease_state current_state; - /* - * 'breaking' indicates that we're waiting - * for a lease break ack from the client - * and breaking_to_requested and breaking_to_required - * have a meaning. - * - * breaking_to_requested is the value already sent to - * the client, the client needs to ack to this (or less). - * - * breaking_to_required is the internal value that needs to - * be reached before we can reset breaking = false, this - * may requires multiple roundtrips to the client, e.g. - * when the lease broken to a more reduced value, while - * the lease break is still in progress. - * - * The following can be assumed (if breaking == true): - * - * current_state > breaking_to_requested >= breaking_to_required - */ - boolean8 breaking; - smb2_lease_state breaking_to_requested; - smb2_lease_state breaking_to_required; - uint16 lease_version; - uint16 epoch; - } share_mode_lease; - typedef [public] struct { server_id pid; hyper op_mid; uint16 op_type; - uint32 lease_idx; GUID client_guid; smb2_lease_key lease_key; uint32 access_mask; @@ -78,8 +47,6 @@ interface open_files [string,charset(UTF8)] char *stream_name; uint32 num_share_modes; [size_is(num_share_modes)] share_mode_entry share_modes[]; - uint32 num_leases; - [size_is(num_leases)] share_mode_lease leases[]; uint32 num_delete_tokens; [size_is(num_delete_tokens)] delete_token delete_tokens[]; timespec old_write_time; |