Patchwork [3/3] pstore: Remove the messages related to compression failure

login
register
mail settings
Submitter Aruna Balakrishnaiah
Date Sept. 11, 2013, 12:07 p.m.
Message ID <20130911120729.27730.7479.stgit@aruna-ThinkPad-T420>
Download mbox | patch
Permalink /patch/274265/
State Not Applicable
Headers show

Comments

Aruna Balakrishnaiah - Sept. 11, 2013, 12:07 p.m.
Remove the messages indicating compression failure as it will
add to the space during panic path.

Reported-by: Seiji Aguchi <seiji.aguchi@hds.com>
Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
---
 fs/pstore/platform.c |    4 ----
 1 file changed, 4 deletions(-)

Patch

diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
index 18924c7..4ad8c93 100644
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@ -316,10 +316,6 @@  static void pstore_dump(struct kmsg_dumper *dumper,
 				compressed = true;
 				total_len = zipped_len;
 			} else {
-				pr_err("pstore: compression failed for Part %d"
-					" returned %d\n", part, zipped_len);
-				pr_err("pstore: Capture uncompressed"
-					" oops/panic report of Part %d\n", part);
 				compressed = false;
 				total_len = copy_kmsg_to_buffer(hsize, len);
 			}