aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBharath SM <bharathsm@microsoft.com>2025-03-17 15:57:26 +0530
committerSteve French <stfrench@microsoft.com>2025-03-24 09:45:07 -0500
commitfaf1b64888ff13caa94fa09835fcfdabee18b057 (patch)
treec1c36af5eabb8f69d2ef06b482a75f60bb09ab0d
parentsmb: minor cleanup to remove unused function declaration (diff)
downloadwireguard-linux-faf1b64888ff13caa94fa09835fcfdabee18b057.tar.xz
wireguard-linux-faf1b64888ff13caa94fa09835fcfdabee18b057.zip
smb: mark the new channel addition log as informational log with cifs_info
For multichannel mounts, when a new channel is successfully opened we currently log 'successfully opened new channel on iface: <>' as cifs_dbg(VFS..) which is eventually translated into a pr_err log. Marking these informational logs as error logs may lead to confusion for users so they will now be logged as info logs instead. Signed-off-by: Bharath SM <bharathsm@microsoft.com> Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
-rw-r--r--fs/smb/client/sess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/sess.c b/fs/smb/client/sess.c
index faa80e7d54a6..b45b46b1b792 100644
--- a/fs/smb/client/sess.c
+++ b/fs/smb/client/sess.c
@@ -242,7 +242,7 @@ int cifs_try_adding_channels(struct cifs_ses *ses)
iface->num_channels++;
iface->weight_fulfilled++;
- cifs_dbg(VFS, "successfully opened new channel on iface:%pIS\n",
+ cifs_info("successfully opened new channel on iface:%pIS\n",
&iface->sockaddr);
break;
}