summaryrefslogtreecommitdiff
path: root/fs/cifs/cifssmb.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2021-07-19 14:04:11 +0000
committerSteve French <stfrench@microsoft.com>2022-01-02 20:38:46 -0600
commit2e0fa298d149e07005504350358066f380f72b52 (patch)
tree8b5a78abaeb9339c76ca7653cc9c5a97393cf72f /fs/cifs/cifssmb.c
parent66eb0c6e66617cace0d626d48819bf2b5fbf9307 (diff)
cifs: add WARN_ON for when chan_count goes below minimum
chan_count keeps track of the total number of channels. Since at least the primary channel will always be connected, this value can never go below 1. Warn if that happens. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
0 files changed, 0 insertions, 0 deletions