Don't log confusing message on reconnect by default
authorSteve French <stfrench@microsoft.com>
Thu, 29 Mar 2018 17:16:34 +0000 (12:16 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 2 Apr 2018 01:24:40 +0000 (20:24 -0500)
Change the following message (which can occur on reconnect) from
a warning to an FYI message.  It is confusing to users.

   [58360.523634] CIFS VFS: Free previous auth_key.response = 00000000a91cdc84

By default this message won't show up on reconnect unless the user bumps
up the log level to include FYI messages.

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/connect.c

index a726f52..4af41b0 100644 (file)
@@ -4306,7 +4306,7 @@ cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
                 server->sec_mode, server->capabilities, server->timeAdj);
 
        if (ses->auth_key.response) {
-               cifs_dbg(VFS, "Free previous auth_key.response = %p\n",
+               cifs_dbg(FYI, "Free previous auth_key.response = %p\n",
                         ses->auth_key.response);
                kfree(ses->auth_key.response);
                ses->auth_key.response = NULL;