Commit 351537c4 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

cr-restore: Fix typo in restorer_get_vma_hint

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 85f18ef0
......@@ -1520,8 +1520,8 @@ static long restorer_get_vma_hint(pid_t pid, struct list_head *self_vma_list, lo
continue;
}
if ((prev_vma_end2 >= prev_vma_end2) &&
(vma_area->vma.start - prev_vma_end2) > vma_len) {
if ((prev_vma_end2 >= prev_vma_end) &&
(vma_area->vma.start - prev_vma_end2) > vma_len) {
hint = prev_vma_end2;
goto found;
}
......
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