mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
util: Drop redundant vma_area->vma.status assignment
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
2
util.c
2
util.c
@@ -327,8 +327,6 @@ int parse_maps(pid_t pid, struct list_head *vma_area_list, bool use_map_files)
|
||||
else if (s == 'p')
|
||||
vma_area->vma.flags = MAP_PRIVATE;
|
||||
|
||||
vma_area->vma.status = 0;
|
||||
|
||||
if (strstr(big_buffer, "[stack]")) {
|
||||
vma_area->vma.status |= VMA_AREA_REGULAR | VMA_AREA_STACK;
|
||||
vma_area->vma.prot |= PROT_GROWSDOWN;
|
||||
|
Reference in New Issue
Block a user