diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-12-08 14:33:41 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-12-08 10:11:33 -0600 |
commit | d47d9886aeef79feba7adac701a510d65f3682b5 (patch) | |
tree | 2cfe999a8e3c99a987e664862aad666e59e7cdc9 /fs/smb/common | |
parent | eb547407f3572d2110cb1194ecd8865b3371a7a4 (diff) | |
download | lwn-d47d9886aeef79feba7adac701a510d65f3682b5.tar.gz lwn-d47d9886aeef79feba7adac701a510d65f3682b5.zip |
ksmbd: send v2 lease break notification for directory
If client send different parent key, different client guid, or there is
no parent lease key flags in create context v2 lease, ksmbd send lease
break to client.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb/common')
-rw-r--r-- | fs/smb/common/smb2pdu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/common/smb2pdu.h b/fs/smb/common/smb2pdu.h index 9fbaaa387dcc..8b603b13e372 100644 --- a/fs/smb/common/smb2pdu.h +++ b/fs/smb/common/smb2pdu.h @@ -1253,6 +1253,7 @@ struct create_mxac_rsp { #define SMB2_LEASE_WRITE_CACHING_LE cpu_to_le32(0x04) #define SMB2_LEASE_FLAG_BREAK_IN_PROGRESS_LE cpu_to_le32(0x02) +#define SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET_LE cpu_to_le32(0x04) #define SMB2_LEASE_KEY_SIZE 16 |