]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix confusing unneeded warning message on smb2.1 and earlier
authorSteve French <stfrench@microsoft.com>
Wed, 16 Feb 2022 19:23:53 +0000 (13:23 -0600)
committerSteve French <stfrench@microsoft.com>
Wed, 16 Feb 2022 23:16:49 +0000 (17:16 -0600)
commit4b817375034a8c61ed48e3bae59d2303488b10fd
tree529e14f325ba19d766f57675e444b1f30107d485
parent336adab1873c94aa14ba84ed4c9f23f55b090158
cifs: fix confusing unneeded warning message on smb2.1 and earlier

When mounting with SMB2.1 or earlier, even with nomultichannel, we
log the confusing warning message:
  "CIFS: VFS: multichannel is not supported on this protocol version, use 3.0 or above"

Fix this so that we don't log this unless they really are trying
to mount with multichannel.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=215608
Reported-by: Kim Scarborough <kim@scarborough.kim>
Cc: stable@vger.kernel.org # 5.11+
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c