[CRIU] [PATCH v3 15/26] files: Add fdinfo_list_entry::stage

Kirill Tkhai ktkhai at virtuozzo.com
Tue Dec 6 10:00:37 PST 2016


On 06.12.2016 20:40, Pavel Emelyanov wrote:
> 
>> @@ -64,6 +64,13 @@ extern int fill_fdlink(int lfd, const struct fd_parms *p, struct fd_link *link);
>>  
>>  struct file_desc;
>>  
>> +enum {
>> +	FLE_INITIALIZED,
>> +	FLE_OPEN,
>> +	FLE_RESTORING,
> 
> This one is unused in the set.

I added it for the future using. If some file type need..
 
>> +	FLE_RESTORED,
>> +};
>> +
>>  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