cifs: move debug print out of spinlock
authorSteve French <stfrench@microsoft.com>
Tue, 16 Nov 2021 03:00:08 +0000 (21:00 -0600)
committerSteve French <stfrench@microsoft.com>
Tue, 16 Nov 2021 16:46:09 +0000 (10:46 -0600)
commit0226487ad8146433be74d20955448e12d85fd251
tree9e735ee6d075008838385eeb532d2cacf824f76e
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
cifs: move debug print out of spinlock

It is better to print debug messages outside of the chan_lock
spinlock where possible.

Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Addresses-Coverity: 1493854 ("Thread deadlock")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c