2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 05:18:00 +00:00

mount: Don't validate mounts read from proc on restore

Validation means -- check chat we can _restore_ this tree.
Those read from proc can be in any state -- we're going to
umount them (can do anything) and do path resolution (work
for any knots as well).

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov 2013-12-12 16:01:14 +04:00
parent e9f9fdb9b3
commit f35d7cd7fe

View File

@ -91,12 +91,6 @@ int collect_mount_info(pid_t pid, bool parse)
pr_err("Building mount tree %d failed\n", getpid());
return -1;
}
if (validate_mounts(mntinfo_tree)) {
mntinfo_tree = NULL;
pr_err("Validating mount tree %d failed\n", getpid());
return -1;
}
}
return 0;