cifs: Move the in_send statistic to __smb_send_rqst()
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Wed, 16 Nov 2022 03:11:36 +0000 (11:11 +0800)
committerSteve French <stfrench@microsoft.com>
Sun, 5 Mar 2023 23:50:38 +0000 (17:50 -0600)
commitd0dc41119905f740e8d5594adce277f7c0de8c92
tree2129ff9caf9e24650573db324f48dc7ac580f67b
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
cifs: Move the in_send statistic to __smb_send_rqst()

When send SMB_COM_NT_CANCEL and RFC1002_SESSION_REQUEST, the
in_send statistic was lost.

Let's move the in_send statistic to the send function to avoid
this scenario.

Fixes: 7ee1af765dfa ("[CIFS]")
Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/transport.c