2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 21:38:16 +00:00

restore: Drop a few more write_hex_n

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2011-10-31 18:35:16 +04:00
parent 6a3c7ab3b9
commit 6898d7f113

View File

@ -182,7 +182,6 @@ self_len_end:
if (!(vma_entry.status & VMA_AREA_REGULAR))
continue;
write_hex_n(vma_entry.start);
if (sys_munmap((void *)vma_entry.start,
vma_entry.end - vma_entry.start))
goto core_restore_end;
@ -211,8 +210,6 @@ self_len_end:
vma_entry.fd = -1UL; /* for a while */
vma_entry.pgoff = 0;
write_hex_n(vma_entry.end - vma_entry.start);
/*
* Should map memory here. Note we map them as
* writable since we're going to restore page