From: Paulo Alcantara Date: Wed, 18 Sep 2024 05:04:06 +0000 (-0300) Subject: smb: client: print failed session logoffs with FYI X-Git-Tag: v6.12-rc1~44^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c7f1b994a025a2d7748104ea9fc5e7d5808092a;p=thirdparty%2Fkernel%2Flinux.git smb: client: print failed session logoffs with FYI Do not flood dmesg with failed session logoffs as kerberos tickets getting expired or passwords being rotated is a very common scenario. Signed-off-by: Paulo Alcantara (Red Hat) Signed-off-by: Steve French --- diff --git a/fs/smb/client/connect.c b/fs/smb/client/connect.c index 0e00c9846f29f..adf8758847f63 100644 --- a/fs/smb/client/connect.c +++ b/fs/smb/client/connect.c @@ -2060,8 +2060,7 @@ void __cifs_put_smb_ses(struct cifs_ses *ses) if (do_logoff) { xid = get_xid(); rc = server->ops->logoff(xid, ses); - if (rc) - cifs_server_dbg(VFS, "%s: Session Logoff failure rc=%d\n", + cifs_server_dbg(FYI, "%s: Session Logoff: rc=%d\n", __func__, rc); _free_xid(xid); }