All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] makedumpfile: Delete useless codes
@ 2015-06-25  6:51 Zhou Wenjian
  2015-06-25  6:51 ` [PATCH 2/2] makedumpfile: Fix a bug Zhou Wenjian
  2015-06-29  8:34 ` [PATCH 1/2] makedumpfile: Delete useless codes Atsushi Kumagai
  0 siblings, 2 replies; 5+ messages in thread
From: Zhou Wenjian @ 2015-06-25  6:51 UTC (permalink / raw)
  To: kexec; +Cc: Zhou wenjian

From: Zhou wenjian <zhouwj-fnst@cn.fujitsu.com>

free_bitmap_buffer() in create_dump_bitmap() includes free_bitmap2_buffer().
So delete free_bitmap2_buffer().

Signed-off-by: Zhou wenjian <zhouwj-fnst@cn.fujitsu.com>
---
 makedumpfile.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/makedumpfile.c b/makedumpfile.c
index cc71f20..7f2949c 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -5933,9 +5933,6 @@ create_dump_bitmap(void)
 
 		info->num_dumpable = get_num_dumpable_cyclic();
 
-		if (!info->flag_elf_dumpfile)
-			free_bitmap2_buffer();
-
 	} else {
 		struct cycle cycle = {0};
 		first_cycle(0, info->max_mapnr, &cycle);
-- 
1.7.1


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-02  2:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-25  6:51 [PATCH 1/2] makedumpfile: Delete useless codes Zhou Wenjian
2015-06-25  6:51 ` [PATCH 2/2] makedumpfile: Fix a bug Zhou Wenjian
2015-06-29  8:34 ` [PATCH 1/2] makedumpfile: Delete useless codes Atsushi Kumagai
2015-06-30  1:23   ` "Zhou, Wenjian/周文剑"
2015-07-02  2:19     ` Atsushi Kumagai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.