From a483cbda5c721144f05a8c83beae16f11ecd5b6a Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 18 Sep 2014 03:51:05 +0300 Subject: [PATCH] service: page-server: allow requesting page-server without setting any ps_info Since we now can return port to user in autobind case, it's ok to request page-server without setting ps_info. Signed-off-by: Ruslan Kuprieiev Signed-off-by: Pavel Emelyanov --- cr-service.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cr-service.c b/cr-service.c index a5006d013..9b9f51e4a 100644 --- a/cr-service.c +++ b/cr-service.c @@ -517,11 +517,6 @@ static int start_page_server_req(int sk, CriuOpts *req) CriuPageServerInfo ps = CRIU_PAGE_SERVER_INFO__INIT; struct ps_info info; - if (!req->ps) { - pr_err("No page server info in message\n"); - goto out; - } - if (pipe(start_pipe)) { pr_perror("No start pipe"); goto out;