summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.com>2024-09-18 02:04:01 -0300
committerSteve French <stfrench@microsoft.com>2024-09-26 12:12:32 -0500
commit780fc3252e08af50e1c80138c1dd7c365fce6b90 (patch)
tree4c3230d910cacacc466cb0bafe2e44cfc1850c0f
parent48f06d0115f1de3242a0bed5dad439b6c896c834 (diff)
downloadlinux-780fc3252e08af50e1c80138c1dd7c365fce6b90.tar.gz
linux-780fc3252e08af50e1c80138c1dd7c365fce6b90.tar.bz2
linux-780fc3252e08af50e1c80138c1dd7c365fce6b90.zip
smb: client: stop flooding dmesg in smb2_calc_signature()
When having several mounts that share same credential and the client couldn't re-establish an SMB session due to an expired kerberos ticket or rotated password, smb2_calc_signature() will end up flooding dmesg when not finding SMB sessions to calculate signatures. Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com>
-rw-r--r--fs/smb/client/smb2transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/smb2transport.c b/fs/smb/client/smb2transport.c
index e4636fca821d..c8bf0000f73b 100644
--- a/fs/smb/client/smb2transport.c
+++ b/fs/smb/client/smb2transport.c
@@ -242,7 +242,7 @@ smb2_calc_signature(struct smb_rqst *rqst, struct TCP_Server_Info *server,
ses = smb2_find_smb_ses(server, le64_to_cpu(shdr->SessionId));
if (unlikely(!ses)) {
- cifs_server_dbg(VFS, "%s: Could not find session\n", __func__);
+ cifs_server_dbg(FYI, "%s: Could not find session\n", __func__);
return -ENOENT;
}