mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
mount: Don't ignore validation and shared resolving errors on dump
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
9fa75831c7
commit
e10b3ef407
1 changed files with 2 additions and 0 deletions
2
mount.c
2
mount.c
|
|
@ -2334,6 +2334,8 @@ int collect_mnt_namespaces(bool for_dump)
|
|||
goto err;
|
||||
|
||||
if (for_dump && need_to_validate) {
|
||||
ret = -1;
|
||||
|
||||
if (collect_shared(mntinfo))
|
||||
goto err;
|
||||
if (validate_mounts(mntinfo, true))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue