Skip to content

Commit faf1b64

Browse files
bharathsm-msSteve French
authored andcommitted
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>
1 parent f2a5409 commit faf1b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/smb/client/sess.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ int cifs_try_adding_channels(struct cifs_ses *ses)
242242

243243
iface->num_channels++;
244244
iface->weight_fulfilled++;
245-
cifs_dbg(VFS, "successfully opened new channel on iface:%pIS\n",
245+
cifs_info("successfully opened new channel on iface:%pIS\n",
246246
&iface->sockaddr);
247247
break;
248248
}

0 commit comments

Comments
 (0)