Skip to content

Commit 6c7f1b9

Browse files
Paulo Alcantarasmfrench
authored andcommitted
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) <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 307f77e commit 6c7f1b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/smb/client/connect.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,8 +2060,7 @@ void __cifs_put_smb_ses(struct cifs_ses *ses)
20602060
if (do_logoff) {
20612061
xid = get_xid();
20622062
rc = server->ops->logoff(xid, ses);
2063-
if (rc)
2064-
cifs_server_dbg(VFS, "%s: Session Logoff failure rc=%d\n",
2063+
cifs_server_dbg(FYI, "%s: Session Logoff: rc=%d\n",
20652064
__func__, rc);
20662065
_free_xid(xid);
20672066
}

0 commit comments

Comments
 (0)