mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-28 12:36:47 +00:00
fdinfo: Don't hide fdinfos' restore errors
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
8ec2ea8288
commit
eff166e98c
1 changed files with 4 additions and 1 deletions
5
files.c
5
files.c
|
|
@ -1023,6 +1023,9 @@ int prepare_fds(struct pstree_item *me)
|
|||
break;
|
||||
}
|
||||
|
||||
if (ret)
|
||||
goto out_w;
|
||||
|
||||
for (state = 0; state < ARRAY_SIZE(states); state++) {
|
||||
if (!states[state].required) {
|
||||
pr_debug("Skipping %s fd stage\n", states[state].name);
|
||||
|
|
@ -1037,7 +1040,7 @@ int prepare_fds(struct pstree_item *me)
|
|||
if (ret)
|
||||
break;
|
||||
}
|
||||
|
||||
out_w:
|
||||
if (rsti(me)->fdt)
|
||||
futex_inc_and_wake(&rsti(me)->fdt->fdt_lock);
|
||||
out:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue