cifs: add a warning when the in-flight count goes negative
authorShyam Prasad N <sprasad@microsoft.com>
Fri, 9 Jun 2023 17:46:56 +0000 (17:46 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 14 Jun 2023 15:15:05 +0000 (10:15 -0500)
commite4645cc2f1e2d6f268bb8dcfac40997c52432aed
treeacf10dd55206731cd2e0166c1dc346556cb59c57
parentc774e6779f38bf36f0cce65e30793704bab4b0d7
cifs: add a warning when the in-flight count goes negative

We've seen the in-flight count go into negative with some
internal stress testing in Microsoft.

Adding a WARN when this happens, in hope of understanding
why this happens when it happens.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2ops.c