[CRIU] [PATCH 4/9] parasite: minor clean up

Andrey Vagin avagin at openvz.org
Fri Jun 21 00:01:10 EDT 2013


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 pie/parasite.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/pie/parasite.c b/pie/parasite.c
index 0e828ea..2644f87 100644
--- a/pie/parasite.c
+++ b/pie/parasite.c
@@ -489,12 +489,7 @@ static noinline __used int noinline parasite_daemon(void *args)
 
 		switch (m.cmd) {
 		case PARASITE_CMD_FINI:
-			ret = fini();
-			sys_close(tsock);
-			/*
-			 * No ACK here since we're getting out.
-			 */
-			break;
+			goto out;
 		case PARASITE_CMD_DUMP_THREAD:
 			ret = dump_thread(args);
 			break;
-- 
1.8.2.1



More information about the CRIU mailing list