pstore: Remove the messages related to compression failure
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Wed, 11 Sep 2013 17:58:23 +0000 (10:58 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 16 Sep 2013 16:28:29 +0000 (09:28 -0700)
Remove the messages indicating compression failure as it will
add to the space during panic path.

Reported-by: Seiji Aguchi <seiji.aguchi@hds.com>
Tested-by: Seiji Aguchi <seiji.aguchi@hds.com>
Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/platform.c

index c853e05cd7f6608596fe998687b72535554f358d..b8e93a40a5d3342767a26959858d24f2a24274c0 100644 (file)
@@ -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);
                        }