summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2020-02-06 10:19:11 +0100
committerSteve French <stfrench@microsoft.com>2020-02-06 09:12:16 -0600
commit343a1b777a92af3022c95ab6c188bef4a6e9ff97 (patch)
treefaef054192d34d5d9b9224696fda55b8040a3cdb /fs
parent09c40b15351c1bb1af035f7f6df167366d552790 (diff)
downloadlinux-343a1b777a92af3022c95ab6c188bef4a6e9ff97.tar.gz
linux-343a1b777a92af3022c95ab6c188bef4a6e9ff97.tar.bz2
linux-343a1b777a92af3022c95ab6c188bef4a6e9ff97.zip
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/sess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index f0795c856d8f..43a88e26d26b 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -101,7 +101,7 @@ int cifs_try_adding_channels(struct cifs_ses *ses)
iface_count = ses->iface_count;
if (iface_count <= 0) {
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;
}
ifaces = kmemdup(ses->iface_list, iface_count*sizeof(*ifaces),