[CRIU] [PATCH] dump: remove debug messages

Andrey Vagin avagin at openvz.org
Thu Dec 20 07:01:28 EST 2012


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-dump.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/cr-dump.c b/cr-dump.c
index e8783db..281dc9e 100644
--- a/cr-dump.c
+++ b/cr-dump.c
@@ -938,11 +938,8 @@ static int dump_task_core_all(pid_t pid, const struct proc_pid_stat *stat,
 		goto err_free;
 
 	ret = pb_write_one(fd_core, core, PB_CORE);
-	if (ret < 0) {
-		pr_info("ERROR\n");
+	if (ret < 0)
 		goto err_free;
-	} else
-		pr_info("OK\n");
 
 err_free:
 	core_entry_free(core);
@@ -1339,8 +1336,6 @@ static int dump_task_thread(struct parasite_ctl *parasite_ctl, struct pid *tid)
 	if (ret)
 		goto err_free;
 
-	pr_info("OK\n");
-
 	fd_core = open_image(CR_FD_CORE, O_DUMP, tid->virt);
 	if (fd_core < 0)
 		goto err_free;
-- 
1.7.11.7



More information about the CRIU mailing list