Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Alcantara <palcantara@suse.de>2019-03-19 20:39:11 -0300
committerPaulo Alcantara <palcantara@suse.de>2019-03-20 14:36:24 -0300
commit385bd76aee84abcd5191456a250110108e62a0ff (patch)
tree6e36281ae061c3a60095977bfc380bff85a728af
parentf101e38bd1dfba7d5fd4b3e0a8bbd19eb94f41a5 (diff)
Don't log confusing message on reconnect by default
(bsc#1129664).
-rw-r--r--patches.fixes/cifs-Don-t-log-confusing-message-on-reconnect-by-default.patch39
-rw-r--r--series.conf1
2 files changed, 40 insertions, 0 deletions
diff --git a/patches.fixes/cifs-Don-t-log-confusing-message-on-reconnect-by-default.patch b/patches.fixes/cifs-Don-t-log-confusing-message-on-reconnect-by-default.patch
new file mode 100644
index 0000000000..5be3679c9a
--- /dev/null
+++ b/patches.fixes/cifs-Don-t-log-confusing-message-on-reconnect-by-default.patch
@@ -0,0 +1,39 @@
+From 2a18287b54f8654d9835cddfc80a12fd73162fc0 Mon Sep 17 00:00:00 2001
+From: Steve French <stfrench@microsoft.com>
+Date: Thu, 29 Mar 2018 12:16:34 -0500
+Subject: [PATCH] Don't log confusing message on reconnect by default
+Git-commit: 2a18287b54f8654d9835cddfc80a12fd73162fc0
+Patch-mainline: v4.17-rc1
+References: bsc#1129664
+
+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>
+Acked-by: Paulo Alcantara <palcantara@suse.de>
+---
+ fs/cifs/connect.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
+index a726f524fb84..4af41b01e0e9 100644
+--- a/fs/cifs/connect.c
++++ b/fs/cifs/connect.c
+@@ -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;
+--
+2.21.0
+
diff --git a/series.conf b/series.conf
index facfa22774..444ac8f975 100644
--- a/series.conf
+++ b/series.conf
@@ -14855,6 +14855,7 @@
patches.fixes/cifs-Tree-connect-for-SMB3.1.1-must-be-signed-for-non-enc.patch
patches.fixes/SMB3.1.1-dialect-is-no-longer-experimental.patch
patches.fixes/cifs-Don-t-log-expected-error-on-DFS-referral-request.patch
+ patches.fixes/cifs-Don-t-log-confusing-message-on-reconnect-by-default.patch
patches.fixes/smb3-Fix-root-directory-when-server-returns-inode-nu.patch
patches.fixes/ext4-shutdown-should-not-prevent-get_write_access.patch
patches.fixes/ext4-eliminate-sleep-from-shutdown-ioctl.patch