Commit 2701316b authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

dump: remove debug messages

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 7d8e13e2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment