mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 19:14:04 +00:00
dump: Remove unused arg from dump_task_core_all
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
ae25daf007
commit
a04ccc22a0
1 changed files with 1 additions and 2 deletions
|
|
@ -630,7 +630,6 @@ static int dump_task_core_all(struct parasite_ctl *ctl,
|
|||
CoreEntry *core,
|
||||
const struct proc_pid_stat *stat,
|
||||
const struct parasite_dump_misc *misc,
|
||||
struct vm_area_list *vma_area_list,
|
||||
const struct cr_fdset *cr_fdset)
|
||||
{
|
||||
int fd_core = fdset_fd(cr_fdset, CR_FD_CORE);
|
||||
|
|
@ -1503,7 +1502,7 @@ static int dump_one_task(struct pstree_item *item)
|
|||
goto err_cure;
|
||||
}
|
||||
|
||||
ret = dump_task_core_all(parasite_ctl, item->core[0], &pps_buf, &misc, &vmas, cr_fdset);
|
||||
ret = dump_task_core_all(parasite_ctl, item->core[0], &pps_buf, &misc, cr_fdset);
|
||||
if (ret) {
|
||||
pr_err("Dump core (pid: %d) failed with %d\n", pid, ret);
|
||||
goto err_cure;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue