cifs: make multichannel warning more visible

When no interfaces are returned by the server we cannot open multiple
channels. Make it more obvious by reporting that to the user at the
VFS log level.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Aurelien Aptel 2020-02-06 10:19:11 +01:00 committed by Steve French
parent 09c40b1535
commit 343a1b777a
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ int cifs_try_adding_channels(struct cifs_ses *ses)
iface_count = ses->iface_count; iface_count = ses->iface_count;
if (iface_count <= 0) { if (iface_count <= 0) {
spin_unlock(&ses->iface_lock); spin_unlock(&ses->iface_lock);
cifs_dbg(FYI, "no iface list available to open channels\n"); cifs_dbg(VFS, "no iface list available to open channels\n");
return 0; return 0;
} }
ifaces = kmemdup(ses->iface_list, iface_count*sizeof(*ifaces), ifaces = kmemdup(ses->iface_list, iface_count*sizeof(*ifaces),