]> git.ipfire.org Git - thirdparty/linux.git/commit
ksmbd: add continuous availability share parameter
authorNamjae Jeon <linkinjeon@kernel.org>
Sat, 20 Apr 2024 00:17:58 +0000 (09:17 +0900)
committerSteve French <stfrench@microsoft.com>
Sat, 20 Apr 2024 01:48:47 +0000 (20:48 -0500)
commite9d8c2f95ab8acaf3f4d4a53682a4afa3c263692
treeabe8506a6f3ce1175f591cba59e50359b9845f13
parent0268a7cc7fdc47d90b6c18859de7718d5059f6f1
ksmbd: add continuous availability share parameter

If capabilities of the share is not SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY,
ksmbd should not grant a persistent handle to the client.
This patch add continuous availability share parameter to control it.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/ksmbd_netlink.h
fs/smb/server/smb2pdu.c