diff options
author | Henrique Carvalho <henrique.carvalho@suse.com> | 2025-05-08 13:09:51 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-06-01 20:46:45 -0500 |
commit | 51b78ffb803657fe38788d5715eee591cd7c0740 (patch) | |
tree | 07be7c4588492bfab9a876adeb7f69d016b4ab9e /scripts/lib/kdoc/kdoc_files.py | |
parent | a3e771afbb3bce91c8296828304903e7348003fe (diff) |
smb: client: add ParentLeaseKey support
According to MS-SMB2 3.2.4.3.8, when opening a file the client must
lookup its parent directory, copy that entry’s LeaseKey into
ParentLeaseKey, and set SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET.
Extend lease context functions to carry a parent_lease_key and
lease_flags and to add them to the lease context buffer accordingly in
smb3_create_lease_buf. Also add a parent_lease_key field to struct
cifs_fid and lease_flags to cifs_open_parms.
Only applies to the SMB 3.x dialect family.
Fixes: f047390a097e ("CIFS: Add create lease v2 context for SMB3")
Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions