mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
v2 rpc: change some "required" fields to "optional"
The most of fields are to be changed to "optional", because they are optional in fact. Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
551cd03290
commit
98b5541492
@@ -753,8 +753,9 @@ static int open_unixsk_standalone(struct unix_sk_info *ui)
|
||||
int sks[2];
|
||||
CriuDumpResp resp = CRIU_DUMP_RESP__INIT;
|
||||
|
||||
resp.success = true;
|
||||
resp.restored = true;
|
||||
resp.success = true;
|
||||
resp.has_restored = true;
|
||||
resp.restored = true;
|
||||
|
||||
if (socketpair(PF_UNIX, ui->ue->type, 0, sks)) {
|
||||
pr_perror("Can't create socketpair");
|
||||
|
Reference in New Issue
Block a user