]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
smb: mark the new channel addition log as informational log with cifs_info
authorBharath SM <bharathsm@microsoft.com>
Mon, 17 Mar 2025 10:27:26 +0000 (15:57 +0530)
committerSteve French <stfrench@microsoft.com>
Mon, 24 Mar 2025 14:45:07 +0000 (09:45 -0500)
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>
fs/smb/client/sess.c

index faa80e7d54a6e8bd7505961f47a6c43a813f5326..b45b46b1b792bd6082ea6d73c491c327261d4099 100644 (file)
@@ -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;
                }