Commit 8c9c333e authored by Kinsbursky Stanislav's avatar Kinsbursky Stanislav Committed by Cyrill Gorcunov

restorer: Drop redundant sys_close

It's already closed in restore_mapping, just an unapplied
patch snippet from 389bd830Signed-off-by: 's avatarStanislav Kinsbursky <skinsbursky@openvz.org>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 69ac4cef
...@@ -427,10 +427,6 @@ long restore_task(struct task_restore_core_args *args) ...@@ -427,10 +427,6 @@ long restore_task(struct task_restore_core_args *args)
write_hex_n(va); write_hex_n(va);
goto core_restore_end; goto core_restore_end;
} }
if (vma_entry->fd != -1UL)
sys_close(vma_entry->fd);
} }
/* /*
......
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