diff --git a/criu/proc_parse.c b/criu/proc_parse.c index 2b94050350..e692311f8b 100644 --- a/criu/proc_parse.c +++ b/criu/proc_parse.c @@ -359,19 +359,24 @@ static int vma_get_mapfile_user(const char *fname, struct vma_area *vma, struct int mnt_id; struct ns_id *ns; + printf("===== %lx %lx\n", vma->vmst->st_dev, vfi_dev ); if (get_fd_mntid(fd, &mnt_id)) - goto errmsg; + goto skip; + printf("===== %lx %lx\n", vma->vmst->st_dev, vfi_dev ); ns = lookup_nsid_by_mnt_id(mnt_id); if (!ns) - goto errmsg; + goto skip; + printf("===== %lx %lx\n", vma->vmst->st_dev, vfi_dev ); if (!phys_stat_dev_match(vma->vmst->st_dev, vfi_dev, ns, fname)) - goto errmsg; + goto skip; + printf("===== %lx %lx\n", vma->vmst->st_dev, vfi_dev ); vma->mnt_id = mnt_id; } +skip: *vm_file_fd = fd; return 0;