[CRIU] [crtools-bot for Kinsbursky Stanislav ] restorer: Drop
redundant sys_close
Cyrill Gorcunov
gorcunov at openvz.org
Mon Feb 20 06:37:50 EST 2012
The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 8c9c333eed0027af187a6f2d8e1e6e3a5ba4d0de
Author: Kinsbursky Stanislav <skinsbursky at openvz.org>
Date: Mon Feb 20 15:33:13 2012 +0400
restorer: Drop redundant sys_close
It's already closed in restore_mapping, just an unapplied
patch snippet from 389bd830f16203b7ac23b6eaf933b8a83b3ab1fd
Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
restorer.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/restorer.c b/restorer.c
index 3761b33..ea4af04 100644
--- a/restorer.c
+++ b/restorer.c
@@ -427,10 +427,6 @@ long restore_task(struct task_restore_core_args *args)
write_hex_n(va);
goto core_restore_end;
}
-
- if (vma_entry->fd != -1UL)
- sys_close(vma_entry->fd);
-
}
/*
More information about the CRIU
mailing list