[CRIU] [PATCH RFC 19/30] files: Add fdinfo_list_entry::stage

Pavel Emelyanov xemul at virtuozzo.com
Tue Nov 8 05:05:37 PST 2016


> @@ -64,6 +64,15 @@ extern int fill_fdlink(int lfd, const struct fd_parms *p, struct fd_link *link);
>  
>  struct file_desc;
>  
> +enum {
> +	FLE_INITIALIZED,
> +	FLE_OPEN,
> +	FLE_BOUND,
> +	FLE_LISTEN,
> +	FLE_MAY_BE_POLLED,
> +	FLE_RESTORED,

Stages must be explained.

> +};
> +
>  struct fdinfo_list_entry {
>  	struct list_head	desc_list;	/* To chain on  @fd_info_head */
>  	struct file_desc	*desc;		/* Associated file descriptor */



More information about the CRIU mailing list