aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorHenrique Carvalho <[email protected]>2025-05-08 16:09:51 +0000
committerSteve French <[email protected]>2025-06-02 01:46:45 +0000
commit51b78ffb803657fe38788d5715eee591cd7c0740 (patch)
tree07be7c4588492bfab9a876adeb7f69d016b4ab9e /rust/helpers/xarray.c
parentcifs: Fix cifs_query_path_info() for Windows NT servers (diff)
downloadkernel-51b78ffb803657fe38788d5715eee591cd7c0740.tar.gz
kernel-51b78ffb803657fe38788d5715eee591cd7c0740.zip
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 <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions