summaryrefslogtreecommitdiff
path: root/scripts/sbom/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-06-18 21:33:07 +0900
committerSteve French <stfrench@microsoft.com>2026-06-22 20:15:04 -0500
commit1f1083c36fa11c5d9011451c7b9ab380545c72ea (patch)
tree1d175f3c4aded813b7a8339e6654f6f0706762ec /scripts/sbom/git@git.tavy.me:linux-stable.git
parentdc2264a9efe7b56040b018024d1dfe0b3839d5ae (diff)
ksmbd: break RH leases before delete-on-close
The delete paths only marked the opened file delete pending or delete-on-close. When another client still held a read/handle lease, no lease break was sent before the delete state changed. smb2.lease.unlink uses a create request with FILE_DELETE_ON_CLOSE and expects the second client's unlink to break the first client's RH lease to R with ACK_REQUIRED set. SetInfo(FileDispositionInformation) has the same lease-breaking requirement. Break level-II/read-handle leases before setting delete pending or delete-on-close so clients are notified before the file is removed. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/sbom/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions