pipe: Fix comment about list head entry

Submitted by Pavel Emelianov on May 26, 2017, 3:39 p.m.

Details

Message ID 85cd3fe4-9d23-06d6-dae8-3d60bb19b53d@virtuozzo.com
State Accepted
Series "pipe: Fix comment about list head entry"
Headers show

Commit Message

Pavel Emelianov May 26, 2017, 3:39 p.m.
The list in question is not used for fles nowadays.

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
---
 criu/include/pipes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/criu/include/pipes.h b/criu/include/pipes.h
index 47d98ae..83fb71c 100644
--- a/criu/include/pipes.h
+++ b/criu/include/pipes.h
@@ -50,7 +50,7 @@  struct pipe_info {
 	PipeEntry		*pe;
 	struct list_head	pipe_list;	/* All pipe_info with the same pipe_id
 						 * This is pure circular list without head */
-	struct list_head	list;		/* list head for fdinfo_list_entry-s */
+	struct list_head	list;		/* global list of pipes */
 	struct file_desc	d;
 	unsigned int		create : 1,
 				reopen : 1;

Comments

Andrey Vagin June 3, 2017, 1:49 a.m.
Applied, thanks!
On Fri, May 26, 2017 at 06:39:40PM +0300, Pavel Emelyanov wrote:
> The list in question is not used for fles nowadays.
> 
> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
> ---
>  criu/include/pipes.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/criu/include/pipes.h b/criu/include/pipes.h
> index 47d98ae..83fb71c 100644
> --- a/criu/include/pipes.h
> +++ b/criu/include/pipes.h
> @@ -50,7 +50,7 @@ struct pipe_info {
>  	PipeEntry		*pe;
>  	struct list_head	pipe_list;	/* All pipe_info with the same pipe_id
>  						 * This is pure circular list without head */
> -	struct list_head	list;		/* list head for fdinfo_list_entry-s */
> +	struct list_head	list;		/* global list of pipes */
>  	struct file_desc	d;
>  	unsigned int		create : 1,
>  				reopen : 1;
> -- 
> 2.1.4
> _______________________________________________
> CRIU mailing list
> CRIU@openvz.org
> https://lists.openvz.org/mailman/listinfo/criu