diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2024-05-01 21:44:02 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-17 12:15:09 +0200 |
commit | ce7711a27f1b9df9faa25ed42ddefc8c5c58f4fe (patch) | |
tree | 4651bf83d1fd6a2ef1778ca50b5a9e374edb6f8a /scripts/generate_rust_analyzer.py | |
parent | 639aebaf200ff2cb5f203e71af6b051b87b076de (diff) |
ksmbd: avoid to send duplicate lease break notifications
commit 97c2ec64667bacc49881d2b2dd9afd4d1c3fbaeb upstream.
This patch fixes generic/011 when enable smb2 leases.
if ksmbd sends multiple notifications for a file, cifs increments
the reference count of the file but it does not decrement the count by
the failure of queue_work.
So even if the file is closed, cifs does not send a SMB2_CLOSE request.
Cc: stable@vger.kernel.org
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions