smb3: default to minimum of two channels when multichannel specified
authorSteve French <stfrench@microsoft.com>
Wed, 3 Jun 2020 04:17:16 +0000 (23:17 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 4 Jun 2020 06:13:37 +0000 (01:13 -0500)
commit1ee0e6d47d08ef309e0975a96d643972855511d0
tree68a2432447f99e4306d49f86b272714dff9d0a9c
parent5f68ea4aa98bcddb5ec5229d2a0933d84ed17732
smb3: default to minimum of two channels when multichannel specified

When "multichannel" is specified on mount, make sure to default to
at least two channels.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/connect.c