summaryrefslogtreecommitdiff
path: root/fs/ksmbd/server.c
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-03-31 08:42:12 +0900
committerSteve French <stfrench@microsoft.com>2023-04-02 23:08:52 -0500
commit3a9b557f44ea8f216aab515a7db20e23f0eb51b9 (patch)
tree5a2587229b6511c14ef5f549fadcd2be083e58bd /fs/ksmbd/server.c
parent2824861773eb512b37547516d81ef78108032cb2 (diff)
ksmbd: delete asynchronous work from list
When smb2_lock request is canceled by smb2_cancel or smb2_close(), ksmbd is missing deleting async_request_entry async_requests list. Because calling init_smb2_rsp_hdr() in smb2_lock() mark ->synchronous as true and then it will not be deleted in ksmbd_conn_try_dequeue_request(). This patch add release_async_work() to release the ones allocated for async work. Cc: stable@vger.kernel.org Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/server.c')
0 files changed, 0 insertions, 0 deletions