ksmbd: count all requests in req_running counter
authorMarios Makassikis <mmakassikis@freebox.fr>
Sat, 14 Dec 2024 03:16:45 +0000 (12:16 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Dec 2024 04:20:03 +0000 (22:20 -0600)
commit83c47d9e0ce79b5d7c0b21b9f35402dbde0fa15c
treec6097eb7eef632af5075593b27966d6d2dc3fc37
parent78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8
ksmbd: count all requests in req_running counter

This changes the semantics of req_running to count all in-flight
requests on a given connection, rather than the number of elements
in the conn->request list. The latter is used only in smb2_cancel,
and the counter is not used

Signed-off-by: Marios Makassikis <mmakassikis@freebox.fr>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/connection.c