[CRIU] Re: [PATCH cr 2/2] pstree: allocate restore data as a tail
of pstree_item
Pavel Emelyanov
xemul at parallels.com
Wed May 30 04:28:27 EDT 2012
On 05/18/2012 01:59 PM, Andrey Vagin wrote:
>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
> cr-dump.c | 4 ++--
> cr-restore.c | 8 +-------
> include/crtools.h | 6 ++++--
> 3 files changed, 7 insertions(+), 11 deletions(-)
>
> +#define alloc_pstree_item() __alloc_pstree_item(0)
> +#define alloc_pstree_item_with_rst() __alloc_pstree_item(1)
Synchronize the argument type of __alloc_pstree_item and the
values you put into it. I.e. int-int or bool-bool, not bool-int.
Thanks,
Pavel
More information about the CRIU
mailing list