mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
restorer: Drop redundant VMA_AREA_REGULAR tests
We have them in vma_entry_is_private() already. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
9ce0254c04
commit
02edd8051e
@ -799,9 +799,6 @@ long __export_restore_task(struct task_restore_args *args)
|
||||
for (i = 0; i < args->nr_vmas; i++) {
|
||||
vma_entry = args->tgt_vmas + i;
|
||||
|
||||
if (!vma_entry_is(vma_entry, VMA_AREA_REGULAR))
|
||||
continue;
|
||||
|
||||
if (!vma_entry_is_private(vma_entry))
|
||||
continue;
|
||||
|
||||
@ -820,9 +817,6 @@ long __export_restore_task(struct task_restore_args *args)
|
||||
for (i = args->nr_vmas - 1; i >= 0; i--) {
|
||||
vma_entry = args->tgt_vmas + i;
|
||||
|
||||
if (!vma_entry_is(vma_entry, VMA_AREA_REGULAR))
|
||||
continue;
|
||||
|
||||
if (!vma_entry_is_private(vma_entry))
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user