From: Aruna Balakrishnaiah Date: Wed, 11 Sep 2013 17:58:23 +0000 (-0700) Subject: pstore: Remove the messages related to compression failure X-Git-Tag: v3.12-rc2~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=802e4c6f5887205eda110c6bfb90c9bfa93dc8a7;p=thirdparty%2Fkernel%2Flinux.git pstore: Remove the messages related to compression failure Remove the messages indicating compression failure as it will add to the space during panic path. Reported-by: Seiji Aguchi Tested-by: Seiji Aguchi Signed-off-by: Aruna Balakrishnaiah Signed-off-by: Tony Luck --- diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index c853e05cd7f66..b8e93a40a5d33 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); }