[CRIU] Re: [PATCH 4/5] pstree: Add comments on pstree_item members

Andrey Vagin avagin at parallels.com
Wed Oct 3 07:24:13 EDT 2012


Acked-by: Andrey Vagin <avagin at parallels.com>

On Wed, Oct 03, 2012 at 12:57:32PM +0400, Cyrill Gorcunov wrote:
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  include/pstree.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 

> diff --git a/include/pstree.h b/include/pstree.h
> index dc7f232..0c0b426 100644
> --- a/include/pstree.h
> +++ b/include/pstree.h
> @@ -4,10 +4,10 @@
>  #include "crtools.h"
>  
>  struct pstree_item {
> -	struct list_head	list;
> +	struct list_head	list;		/* linkage in my parent's children list */
>  	struct pid		pid;
>  	struct pstree_item	*parent;
> -	struct list_head	children;	/* array of children */
> +	struct list_head	children;	/* list of my children */
>  	pid_t			pgid;
>  	pid_t			sid;
>  	pid_t			born_sid;



More information about the CRIU mailing list