mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-02 14:52:19 +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
1 changed files with 0 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue