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,7 +1520,7 @@ static long restorer_get_vma_hint(pid_t pid, struct list_head *self_vma_list, lo ...@@ -1520,7 +1520,7 @@ static long restorer_get_vma_hint(pid_t pid, struct list_head *self_vma_list, lo
continue; continue;
} }
if ((prev_vma_end2 >= prev_vma_end2) && if ((prev_vma_end2 >= prev_vma_end) &&
(vma_area->vma.start - prev_vma_end2) > vma_len) { (vma_area->vma.start - prev_vma_end2) > vma_len) {
hint = prev_vma_end2; hint = prev_vma_end2;
goto found; 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