Commit 1c5f981e authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

cleanup: dump -- Add warning on unexpected VMA

Instead of simply dropping this dead code, put
a warning here, just to be on a safe side.
Reported-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 5ae9d9fe
......@@ -1042,7 +1042,8 @@ static int finalize_core(pid_t pid, struct list_head *vma_area_list, struct cr_f
}
num_anon++;
} else {
/* skip the file shared page */
pr_warning("Unexpected VMA area found\n");
pr_info_vma(vma_area);
lseek(fd_pages, PAGE_SIZE, SEEK_CUR);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment