smb3: clarify multichannel warning
authorSteve French <stfrench@microsoft.com>
Wed, 12 Oct 2022 04:26:33 +0000 (23:26 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 13 Oct 2022 14:35:57 +0000 (09:35 -0500)
When server does not return network interfaces, clarify the
message to indicate that "multichannel not available" not just
that "empty network interface returned by server ..."

Suggested-by: Tom Talpey <tom@talpey.com>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c

index 5187250..32d5387 100644 (file)
@@ -550,7 +550,8 @@ parse_server_interfaces(struct network_interface_info_ioctl_rsp *buf,
                /* avoid spamming logs every 10 minutes, so log only in mount */
                if ((ses->chan_max > 1) && in_mount)
                        cifs_dbg(VFS,
-                                "empty network interface list returned by server %s\n",
+                                "multichannel not available\n"
+                                "Empty network interface list returned by server %s\n",
                                 ses->server->hostname);
                rc = -EINVAL;
                goto out;