2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-02 23:35:21 +00:00

pb: Rewrite object reading to use pb-descs

The pb_read thing is no longer a macros. This will allow to
factor out objects collecting on restore.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-08-07 02:42:58 +04:00
parent 2398c55e41
commit b1b0a39a58
23 changed files with 62 additions and 59 deletions

View File

@@ -48,7 +48,7 @@ int prepare_utsns(int pid)
if (fd < 0)
return -1;
ret = pb_read(fd, &ue, utsns_entry);
ret = pb_read_one(fd, &ue, PB_UTSNS);
if (ret < 0)
goto out;