cifs: empty interface list when server doesn't support query interfaces
authorShyam Prasad N <sprasad@microsoft.com>
Thu, 9 Mar 2023 13:23:29 +0000 (13:23 +0000)
committerSteve French <stfrench@microsoft.com>
Thu, 23 Mar 2023 16:19:42 +0000 (11:19 -0500)
commit896cd316b841053f6df95ab77b5f1322c16a8e18
tree12e6050cc011b8718a480872899f837b28c17491
parent072a28c8907c841f7d4b56c78bce46d3ee211e73
cifs: empty interface list when server doesn't support query interfaces

When querying server interfaces returns -EOPNOTSUPP,
clear the list of interfaces. Assumption is that multichannel
would be disabled too.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c