]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: when a channel is not found for server, log its connection id
authorShyam Prasad N <sprasad@microsoft.com>
Tue, 14 Jun 2022 11:47:24 +0000 (11:47 +0000)
committerSteve French <stfrench@microsoft.com>
Sat, 18 Jun 2022 19:55:06 +0000 (14:55 -0500)
commit98f4eb25c4e23e202ace7e5bf64acc6458b4caff
treeab189878927bcdcbf49146b089d759cbb39ab5d2
parent4d3edd32eec49fc688fc70066dc731e2da6567e2
cifs: when a channel is not found for server, log its connection id

cifs_ses_get_chan_index gets the index for a given server pointer.
When a match is not found, we warn about a possible bug.
However, printing details about the non-matching server could be
more useful to debug here.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c